Export (0) Print
Expand All

HttpRuntime.IISVersion Property

.NET Framework 4.5

Gets the version of IIS that is hosting this application.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

'Declaration
Public Shared ReadOnly Property IISVersion As Version

Property Value

Type: System.Version
The version of IIS that is hosting this application, or Nothing 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

Supported in: 4.6
Show:
© 2014 Microsoft