HttpRuntime::IISVersion Property
.NET Framework (current version)
Gets the version of IIS that is hosting this application.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Version^The version of IIS that is hosting this application, or null if this application is not hosted by IIS.
The version includes major version and minor version; for example, 7.0, 7.5, 8.0, etc.
.NET Framework
Available since 4.5
Available since 4.5
Show: