home / software / tips and tricks / How to check IIS version using C#

How to check IIS version using C#

Updated:  09/06/2012 08:09 AM
Author:  Shiju Mathews

Status:    Resolved.


When we are thinking about web hosting on third party windows server, it is important to know about the IIS version running on the server. Using RegistryKey class, which encapsulates the registry we can find out the version as bellow.



If the code is running on IIS 8 Express output will be : 8.0
Tags: How to check IIS version using C#
Updated on: December 2024