ClrVersion Property
Collapse the table of content
Expand the table of content

HttpCapabilitiesBase.ClrVersion Property


Gets the version of the .NET Framework that is installed on the client.

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

member ClrVersion : Version with get

Property Value

Type: System.Version

The common language runtime Version.

The ClrVersion property is supported only when the browser is Internet Explorer version 5.0 and later.

If the .NET Framework is not installed on the client, the value of the version elements returned is 0, 0,-1,-1.

If more than one version of the .NET Framework is installed on the client, the ClrVersion property returns the latest version.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft