HttpBrowserCapabilities Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the server to gather information on the capabilities of the browser that is running on the client.
public ref class HttpBrowserCapabilities : System::Web::Configuration::HttpCapabilitiesBase
public class HttpBrowserCapabilities : System.Web.Configuration.HttpCapabilitiesBase
type HttpBrowserCapabilities = class
inherit HttpCapabilitiesBase
Public Class HttpBrowserCapabilities
Inherits HttpCapabilitiesBase
- Inheritance
- Derived
Remarks
The HttpBrowserCapabilities properties are accessible through the Browser property of the ASP.NET intrinsic Request object.
Constructors
HttpBrowserCapabilities() |
Creates a new instance of the HttpBrowserCapabilities class. |
Properties
ActiveXControls |
Gets a value indicating whether the client browser supports ActiveX controls. |
ActiveXControls |
Gets a value indicating whether the browser supports ActiveX controls. (Inherited from HttpCapabilitiesBase) |
Adapters |
Returns the collection of available control adapters. (Inherited from HttpCapabilitiesBase) |
AOL |
Gets a value indicating whether the client is an America Online (AOL) browser. |
AOL |
Gets a value indicating whether the client is an America Online (AOL) browser. (Inherited from HttpCapabilitiesBase) |
BackgroundSounds |
Gets a value indicating whether the client browser supports background sounds. |
BackgroundSounds |
Gets a value indicating whether the browser supports playing background sounds using the |
Beta |
Gets a value indicating whether the browser is a beta release. |
Beta |
Gets a value indicating whether the browser is a beta version. (Inherited from HttpCapabilitiesBase) |
Browser |
Gets the browser string (if any) that was transmitted in the User-Agent header. |
Browser |
Gets the browser string (if any) that was sent by the browser in the |
Browsers |
Gets an ArrayList of the browsers in the Capabilities dictionary. (Inherited from HttpCapabilitiesBase) |
CanCombineFormsInDeck |
Gets a value indicating whether the browser supports decks that contain multiple forms, such as separate cards. (Inherited from HttpCapabilitiesBase) |
CanInitiateVoiceCall |
Gets a value indicating whether the browser device is capable of initiating a voice call. (Inherited from HttpCapabilitiesBase) |
CanRenderAfterInputOrSelectElement |
Gets a value indicating whether the browser supports page content following WML |
CanRenderEmptySelects |
Gets a value indicating whether the browser supports empty HTML |
CanRenderInputAndSelectElementsTogether |
Gets a value indicating whether the browser supports WML |
CanRenderMixedSelects |
Gets a value indicating whether the browser supports WML |
CanRenderOneventAndPrevElementsTogether |
Gets a value indicating whether the browser supports WML |
CanRenderPostBackCards |
Gets a value indicating whether the browser supports WML cards for postback. (Inherited from HttpCapabilitiesBase) |
CanRenderSetvarZeroWithMultiSelectionList |
Gets a value indicating whether the browser supports WML |
CanSendMail |
Gets a value indicating whether the browser supports sending email by using the HTML |
Capabilities |
Used internally to get the defined capabilities of the browser. (Inherited from HttpCapabilitiesBase) |
CDF |
Gets a value indicating whether the client browser supports Channel Definition Format (CDF) for webcasting. |
CDF |
Gets a value indicating whether the browser supports Channel Definition Format (CDF) for webcasting. (Inherited from HttpCapabilitiesBase) |
ClrVersion |
Gets the version number of the .NET common language runtime installed on the client. |
ClrVersion |
Gets the version of the .NET Framework that is installed on the client. (Inherited from HttpCapabilitiesBase) |
Cookies |
Gets a value indicating whether the client browser supports cookies. |
Cookies |
Gets a value indicating whether the browser supports cookies. (Inherited from HttpCapabilitiesBase) |
Crawler |
Gets a value indicating whether the client browser is a Web crawler search engine. |
Crawler |
Gets a value indicating whether the browser is a search engine Web crawler. (Inherited from HttpCapabilitiesBase) |
DefaultSubmitButtonLimit |
Returns the maximum number of Submit buttons that are allowed for a form. (Inherited from HttpCapabilitiesBase) |
EcmaScriptVersion |
Gets the version number of ECMA script that the client browser supports. |
EcmaScriptVersion |
Gets the version number of ECMAScript that the browser supports. (Inherited from HttpCapabilitiesBase) |
Frames |
Gets a value indicating whether the client browser supports HTML frames. |
Frames |
Gets a value indicating whether the browser supports HTML frames. (Inherited from HttpCapabilitiesBase) |
GatewayMajorVersion |
Gets the major version number of the wireless gateway used to access the server, if known. (Inherited from HttpCapabilitiesBase) |
GatewayMinorVersion |
Gets the minor version number of the wireless gateway used to access the server, if known. (Inherited from HttpCapabilitiesBase) |
GatewayVersion |
Gets the version of the wireless gateway used to access the server, if known. (Inherited from HttpCapabilitiesBase) |
HasBackButton |
Gets a value indicating whether the browser has a dedicated Back button. (Inherited from HttpCapabilitiesBase) |
HidesRightAlignedMultiselectScrollbars |
Gets a value indicating whether the scrollbar of an HTML |
HtmlTextWriter |
Gets or sets the fully qualified class name of the HtmlTextWriter to use. (Inherited from HttpCapabilitiesBase) |
Id |
Gets the internal identifier of the browser as specified in the browser definition file. (Inherited from HttpCapabilitiesBase) |
InputType |
Returns the type of input supported by browser. (Inherited from HttpCapabilitiesBase) |
IsColor |
Gets a value indicating whether the browser has a color display. (Inherited from HttpCapabilitiesBase) |
IsMobileDevice |
Gets a value indicating whether the browser is a recognized mobile device. (Inherited from HttpCapabilitiesBase) |
Item[String] |
Gets the value of the specified browser capability. In C#, this property is the indexer for the class. (Inherited from HttpCapabilitiesBase) |
JavaApplets |
Gets a value indicating whether the client browser supports Java applets. |
JavaApplets |
Gets a value indicating whether the browser supports Java. (Inherited from HttpCapabilitiesBase) |
JavaScript |
Gets a value indicating whether the client browser supports JavaScript. |
JavaScript |
Obsolete.
Gets a value indicating whether the browser supports JavaScript. (Inherited from HttpCapabilitiesBase) |
JScriptVersion |
Gets the JScript version that the browser supports. (Inherited from HttpCapabilitiesBase) |
MajorVersion |
Gets the major (that is, integer) version number of the client browser. |
MajorVersion |
Gets the major (integer) version number of the browser. (Inherited from HttpCapabilitiesBase) |
MaximumHrefLength |
Gets the maximum length in characters for the |
MaximumRenderedPageSize |
Gets the maximum length of the page, in bytes, which the browser can display. (Inherited from HttpCapabilitiesBase) |
MaximumSoftkeyLabelLength |
Returns the maximum length of the text that a soft-key label can display. (Inherited from HttpCapabilitiesBase) |
MinorVersion |
Gets the minor (that is, decimal) version number of the client browser. |
MinorVersion |
Gets the minor (that is, decimal) version number of the browser. (Inherited from HttpCapabilitiesBase) |
MinorVersionString |
Gets the minor (decimal) version number of the browser as a string. (Inherited from HttpCapabilitiesBase) |
MobileDeviceManufacturer |
Returns the name of the manufacturer of a mobile device, if known. (Inherited from HttpCapabilitiesBase) |
MobileDeviceModel |
Gets the model name of a mobile device, if known. (Inherited from HttpCapabilitiesBase) |
MSDomVersion |
Gets the version of Microsoft HTML (MSHTML) Document Object Model (DOM) that the client browser supports. |
MSDomVersion |
Gets the version of Microsoft HTML (MSHTML) Document Object Model (DOM) that the browser supports. (Inherited from HttpCapabilitiesBase) |
NumberOfSoftkeys |
Returns the number of soft keys on a mobile device. (Inherited from HttpCapabilitiesBase) |
Platform |
Gets the name of the platform that the client uses. |
Platform |
Gets the name of the platform that the client uses, if it is known. (Inherited from HttpCapabilitiesBase) |
PreferredImageMime |
Returns the MIME type of the type of image content typically preferred by the browser. (Inherited from HttpCapabilitiesBase) |
PreferredRenderingMime |
Returns the MIME type of the type of content typically preferred by the browser. (Inherited from HttpCapabilitiesBase) |
PreferredRenderingType |
Gets the general name for the type of content that the browser prefers. (Inherited from HttpCapabilitiesBase) |
PreferredRequestEncoding |
Gets the request encoding preferred by the browser. (Inherited from HttpCapabilitiesBase) |
PreferredResponseEncoding |
Gets the response encoding preferred by the browser. (Inherited from HttpCapabilitiesBase) |
RendersBreakBeforeWmlSelectAndInput |
Gets a value indicating whether the browser renders a line break before |
RendersBreaksAfterHtmlLists |
Gets a value indicating whether the browser renders a line break after list-item elements. (Inherited from HttpCapabilitiesBase) |
RendersBreaksAfterWmlAnchor |
Gets a value indicating whether the browser renders a line break after a stand-alone HTML |
RendersBreaksAfterWmlInput |
Gets a value indicating whether the browser renders a line break after an HTML |
RendersWmlDoAcceptsInline |
Gets a value indicating whether the mobile-device browser renders a WML |
RendersWmlSelectsAsMenuCards |
Gets a value indicating whether the browser renders WML |
RequiredMetaTagNameValue |
Used internally to produce a meta-tag required by some browsers. (Inherited from HttpCapabilitiesBase) |
RequiresAttributeColonSubstitution |
Gets a value indicating whether the browser requires colons in element attribute values to be substituted with a different character. (Inherited from HttpCapabilitiesBase) |
RequiresContentTypeMetaTag |
Gets a value indicating whether the browser requires an HTML |
RequiresControlStateInSession |
Gets a value indicating whether the browser requires control state to be maintained in sessions. (Inherited from HttpCapabilitiesBase) |
RequiresDBCSCharacter |
Gets a value indicating whether the browser requires a double-byte character set. (Inherited from HttpCapabilitiesBase) |
RequiresHtmlAdaptiveErrorReporting |
Gets a value indicating whether the browser requires nonstandard error messages. (Inherited from HttpCapabilitiesBase) |
RequiresLeadingPageBreak |
Gets a value indicating whether the browser requires the first element in the body of a Web page to be an HTML |
RequiresNoBreakInFormatting |
Gets a value indicating whether the browser does not support HTML |
RequiresOutputOptimization |
Gets a value indicating whether the browser requires pages to contain a size-optimized form of markup language tags. (Inherited from HttpCapabilitiesBase) |
RequiresPhoneNumbersAsPlainText |
Gets a value indicating whether the browser supports phone dialing based on plain text, or whether it requires special markup. (Inherited from HttpCapabilitiesBase) |
RequiresSpecialViewStateEncoding |
Gets a value indicating whether the browser requires |
RequiresUniqueFilePathSuffix |
Gets a value indicating whether the browser requires unique form-action URLs. (Inherited from HttpCapabilitiesBase) |
RequiresUniqueHtmlCheckboxNames |
Gets a value indicating whether the browser requires unique |
RequiresUniqueHtmlInputNames |
Gets a value indicating whether the browser requires unique |
RequiresUrlEncodedPostfieldValues |
Gets a value indicating whether postback data sent by the browser will be |
ScreenBitDepth |
Returns the depth of the display, in bits per pixel. (Inherited from HttpCapabilitiesBase) |
ScreenCharactersHeight |
Returns the approximate height of the display, in character lines. (Inherited from HttpCapabilitiesBase) |
ScreenCharactersWidth |
Returns the approximate width of the display, in characters. (Inherited from HttpCapabilitiesBase) |
ScreenPixelsHeight |
Returns the approximate height of the display, in pixels. (Inherited from HttpCapabilitiesBase) |
ScreenPixelsWidth |
Returns the approximate width of the display, in pixels. (Inherited from HttpCapabilitiesBase) |
SupportsAccesskeyAttribute |
Gets a value indicating whether the browser supports the |
SupportsBodyColor |
Gets a value indicating whether the browser supports the |
SupportsBold |
Gets a value indicating whether the browser supports HTML |
SupportsCacheControlMetaTag |
Gets a value indicating whether the browser supports the |
SupportsCallback |
Gets a value indicating whether the browser supports callback scripts. (Inherited from HttpCapabilitiesBase) |
SupportsCss |
Gets a value indicating whether the browser supports Cascading Style Sheets (CSS). (Inherited from HttpCapabilitiesBase) |
SupportsDivAlign |
Gets a value indicating whether the browser supports the |
SupportsDivNoWrap |
Gets a value indicating whether the browser supports the |
SupportsEmptyStringInCookieValue |
Gets a value indicating whether the browser supports empty ( |
SupportsFontColor |
Gets a value indicating whether the browser supports the |
SupportsFontName |
Gets a value indicating whether the browser supports the |
SupportsFontSize |
Gets a value indicating whether the browser supports the |
SupportsImageSubmit |
Gets a value indicating whether the browser supports using a custom image in place of a standard form Submit button. (Inherited from HttpCapabilitiesBase) |
SupportsIModeSymbols |
Gets a value indicating whether the browser supports i-mode symbols. (Inherited from HttpCapabilitiesBase) |
SupportsInputIStyle |
Gets a value indicating whether the browser supports the |
SupportsInputMode |
Gets a value indicating whether the browser supports the |
SupportsItalic |
Gets a value indicating whether the browser supports HTML |
SupportsJPhoneMultiMediaAttributes |
Gets a value indicating whether the browser supports J-Phone multimedia attributes. (Inherited from HttpCapabilitiesBase) |
SupportsJPhoneSymbols |
Gets a value indicating whether the browser supports J-Phone-specific picture symbols. (Inherited from HttpCapabilitiesBase) |
SupportsQueryStringInFormAction |
Gets a value indicating whether the browser supports a query string in the |
SupportsRedirectWithCookie |
Gets a value indicating whether the browser supports cookies on redirection. (Inherited from HttpCapabilitiesBase) |
SupportsSelectMultiple |
Gets a value indicating whether the browser supports the |
SupportsUncheck |
Gets a value indicating whether the clearing of a checked HTML |
SupportsXmlHttp |
Gets a value indicating whether the browser supports receiving XML over HTTP. (Inherited from HttpCapabilitiesBase) |
Tables |
Gets a value indicating whether the client browser supports HTML tables. |
Tables |
Gets a value indicating whether the browser supports HTML |
TagWriter |
This API supports the product infrastructure and is not intended to be used directly from your code. Used internally to get the type of the object that is used to write tags for the browser. |
TagWriter |
Used internally to get the type of the object that is used to write tags for the browser. (Inherited from HttpCapabilitiesBase) |
Type |
Gets the name and major (that is, integer) version number of the client browser. |
Type |
Gets the name and major (integer) version number of the browser. (Inherited from HttpCapabilitiesBase) |
UseOptimizedCacheKey |
Used internally to get a value indicating whether to use an optimized cache key. (Inherited from HttpCapabilitiesBase) |
VBScript |
Gets a value indicating whether the client browser supports VBScript. |
VBScript |
Gets a value indicating whether the browser supports Visual Basic Scripting edition (VBScript). (Inherited from HttpCapabilitiesBase) |
Version |
Gets the full version number (integer and decimal) of the browser as a string. |
Version |
Gets the full version number (integer and decimal) of the browser as a string. (Inherited from HttpCapabilitiesBase) |
W3CDomVersion |
Gets the version of the World Wide Web Consortium (W3C) XML Document Object Model (DOM) that the client browser supports. |
W3CDomVersion |
Gets the version of the World Wide Web Consortium (W3C) XML Document Object Model (DOM) that the browser supports. (Inherited from HttpCapabilitiesBase) |
Win16 |
Gets a value indicating whether the client is a Win16-based computer. |
Win16 |
Gets a value indicating whether the client is a Win16-based computer. (Inherited from HttpCapabilitiesBase) |
Win32 |
Gets a value indicating whether the client is a Win32-based computer. |
Win32 |
Gets a value indicating whether the client is a Win32-based computer. (Inherited from HttpCapabilitiesBase) |
Methods
AddBrowser(String) |
Used internally to add an entry to the internal collection of browsers for which capabilities are recognized. (Inherited from HttpCapabilitiesBase) |
CreateHtmlTextWriter(TextWriter) |
Creates a new instance of the HtmlTextWriter to be used. (Inherited from HttpCapabilitiesBase) |
DisableOptimizedCacheKey() |
Used internally to disable use of an optimized cache key. (Inherited from HttpCapabilitiesBase) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetClrVersions() |
Returns all versions of the .NET common language runtime (CLR) installed on the client. |
GetClrVersions() |
Returns all versions of the .NET Framework common language runtime that are installed on the client. (Inherited from HttpCapabilitiesBase) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
Init() |
Used internally to initialize an internal set of values. (Inherited from HttpCapabilitiesBase) |
IsBrowser(String) |
Gets a value indicating whether the client browser is the same as the specified browser. (Inherited from HttpCapabilitiesBase) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Explicit Interface Implementations
IFilterResolutionService.CompareFilters(String, String) |
Used internally to compare filters. (Inherited from HttpCapabilitiesBase) |
IFilterResolutionService.EvaluateFilter(String) |
Used internally to evaluate a filter. (Inherited from HttpCapabilitiesBase) |