HttpCapabilitiesBase.GetClrVersions Method

Definition

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

public:
 cli::array <Version ^> ^ GetClrVersions();
public Version[] GetClrVersions ();
member this.GetClrVersions : unit -> Version[]
Public Function GetClrVersions () As Version()

Returns

An array of Version objects.

Remarks

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.

Applies to