Name

Browser

Synopsis

bc = Request.Browser

Returns an instance of the HttpBrowserCapabilities class that describes the capabilities of the client browser. You can then use the class instance to determine what capabilities the client browser supports. The HttpBrowserCapabilities class exposes the capabilities of the client browser as a set of Boolean and String properties. Properties of the HttpBrowserCapabilities class include:

ActiveXControls

A Boolean indicating whether the browser supports ActiveX controls.

AOL

A Boolean indicating whether the browser is an AOL browser.

BackgroundSounds

A Boolean indicating whether the browser supports background sounds.

Beta

A Boolean indicating whether the browser is beta software.

Browser

A String containing the User-Agent header value.

CDF

A Boolean indicating whether the browser supports the Channel Definition Format for pushing content.

ClrVersion

Returns a System.Version object containing version information about the CLR (if any) installed on the client machine (from the User-Agent header). If ClrVersion is not Nothing, you can retrieve version information from four of its Integer properties: Major, Minor, Revision, and Build.

Cookies

A Boolean indicating whether the browser supports cookies.

Crawler

A Boolean indicating whether the browser is a search engine web crawler.

EcmaScriptVersion

Returns an instance of the Version class containing information about the version of ECMAScript supported by the client browser. If EcmaScriptVersion is not ...

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.