HttpCapabilitiesBase::MajorVersion Property

 

Gets the major (integer) version number of the browser.

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

public:
property int MajorVersion {
	int get();
}

Property Value

Type: System::Int32

The major version number of the browser.

Exception Condition
Exception

The major version value is not an integer.

The following code example adds the major and minor (integer and decimal) values of the browser version number and sends the result to browser.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: