This documentation is archived and is not being maintained.

HttpCapabilitiesBase.GetClrVersions Method

Returns all versions of the .NET Framework common language runtime that are installed on the client.

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

public Version[] GetClrVersions ()
public Version[] GetClrVersions ()
public function GetClrVersions () : Version[]
Not applicable.

Return Value

An array of Version objects.

The GetClrVersions method is supported only when the browser is Internet Explorer version 5.0 or later. If the common language runtime is not installed on the client, the property returns an array containing a single Version object with the values 0, 0,-1,-1.

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