
HttpBrowserCapabilities | 487
System.Web
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.Collections.Specialized.NameObjectCollectionBase(System.Collec-
tions.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable,
System.Runtime.Serialization.IDeserializationCallback)
➝ HttpApplicationState
Returned By
HttpApplication.Application, HttpContext.Application, System.Web.Services.WebService.
Application, System.Web.UI.Page.Application, System.Web.UI.UserControl.Application
HttpBrowserCapabilities
System.Web (system.web.dll)
class
This class allows you to take advantage of features enabled in the client’s browser. It is
automatically available through the Browser property of the built-in Request object and
corresponds roughly to the MSWC.BrowserCapabilities component that existed in ASP. You
can use this class to write browser-specific code for a web page or a custom web page
control.
Essentially, the HttpBrowserCapabilities class is a list of properties that describe the client’s
browser. Many properties return True or False, depending on whether a given capability
is enabled in the browser, such as ActiveXControls, BackgroundSounds, CDF (the channel defini-
tion format used in webcasting), Cookies, Frames, JavaApplets, JavaScript, and VBScript. Other
Boolean values ...