Home » Programming / Coding

How to Check IIS Version on Website?

23 July 2009 3,360 views No Comment

How do you check the version of IIS on the server of a website?

Simply put this on the code behind of a page:

Response.Write(Request.ServerVariables["SERVER_SOFTWARE"]);

When you view the page it should show you something like this:

Microsoft-IIS/6.0

Where 6.0 is the version.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.