Export (0) Print
Expand All
Expand Minimize

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)

public Version ClrVersion { get; }
/** @property */
public Version get_ClrVersion ()

public function get ClrVersion () : Version

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft