System.Web.Configuration.HttpCapabilitiesBase.GetClrVersions Method

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

Syntax

public Version[] GetClrVersions ()

Returns

An array of Version objects.

Remarks

The HttpCapabilitiesBase.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.

Requirements

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