WebBrowser.Version Property

Definition

Gets the version of Internet Explorer installed.

public:
 property Version ^ Version { Version ^ get(); };
[System.ComponentModel.Browsable(false)]
public Version Version { get; }
member this.Version : Version
Public ReadOnly Property Version As Version

Property Value

A Version object representing the version of Internet Explorer installed.

Attributes

Remarks

The WebBrowser control is a managed wrapper around a component installed with Internet Explorer. Use this property to determine which version of Internet Explorer is installed. This is useful when your application uses a feature of Internet Explorer that is present only in certain versions. If the required version is not present on the local machine, you can provide alternative functionality or prompt the user to upgrade.

Security

SecurityPermission
for immediate callers to use this control. Demand value: LinkDemand; Named Permission Sets: FullTrust.

Applies to

See also