Export (0) Print
Expand All

HttpCapabilitiesBase Class

Provides access to detailed information about the capabilities of the client's browser.

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

public ref class HttpCapabilitiesBase : IFilterResolutionService
public class HttpCapabilitiesBase implements IFilterResolutionService
public class HttpCapabilitiesBase implements IFilterResolutionService
Not applicable.

HttpCapabilitiesBase is the base class from which the HttpBrowserCapabilities class extends. HttpCapabilitiesBase offers a large number of read-only properties that provide type-safe access to a browser's capabilities dictionary. You can access the HttpBrowserCapabilities class, which derives from HttpCapabilitiesBase, through the Browser property exposed by the ASP.NET HttpRequest.Browser property.

TopicLocation
How to: Detect Browser Types in ASP.NET Web PagesBuilding ASP .NET Web Applications
How to: Detect Browser Types in ASP.NET Web PagesBuilding ASP .NET Web Applications

The following code example shows how to access information about the browser.

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

System.Object
  System.Web.Configuration.HttpCapabilitiesBase
     System.Web.HttpBrowserCapabilities

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft