UserAgent Property

HttpRequest::UserAgent Property

 

Gets the raw user agent string of the client browser.

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

public:
property String^ UserAgent {
	String^ get();
}

Property Value

Type: System::String^

The raw user agent string of the client browser.

The following code example assigns the type identification of the requesting browser to a string variable.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft