HttpBrowserCapabilities Members

Enables the server to gather information on the capabilities of the browser that is running on the client.

The following tables list the members exposed by the HttpBrowserCapabilities type.

  Name Description
Public method HttpBrowserCapabilities Creates a new instance of the HttpBrowserCapabilities class.
Top

  Name Description
Public property ActiveXControls  Gets a value indicating whether the browser supports ActiveX controls.(inherited from HttpCapabilitiesBase)
Public property Adapters  Returns the collection of available control adapters.(inherited from HttpCapabilitiesBase)
Public property AOL  Gets a value indicating whether the client is an America Online (AOL) browser.(inherited from HttpCapabilitiesBase)
Public property BackgroundSounds  Gets a value indicating whether the browser supports playing background sounds using the <bgsounds> HTML element.(inherited from HttpCapabilitiesBase)
Public property Beta  Gets a value indicating whether the browser is a beta version.(inherited from HttpCapabilitiesBase)
Public property Browser  Gets the browser string (if any) that was sent by the browser in the User-Agent request header.(inherited from HttpCapabilitiesBase)
Public property Browsers  Gets an ArrayList of the browsers in the Capabilities dictionary.(inherited from HttpCapabilitiesBase)
Public property CanCombineFormsInDeck  Gets a value indicating whether the browser supports decks that contain multiple forms, such as separate cards.(inherited from HttpCapabilitiesBase)
Public property CanInitiateVoiceCall  Gets a value indicating whether the browser device is capable of initiating a voice call.(inherited from HttpCapabilitiesBase)
Public property CanRenderAfterInputOrSelectElement  Gets a value indicating whether the browser supports page content following WML <select> or <input> elements.(inherited from HttpCapabilitiesBase)
Public property CanRenderEmptySelects  Gets a value indicating whether the browser supports empty HTML <select> elements.(inherited from HttpCapabilitiesBase)
Public property CanRenderInputAndSelectElementsTogether  Gets a value indicating whether the browser supports WML INPUT and SELECT elements together on the same card.(inherited from HttpCapabilitiesBase)
Public property CanRenderMixedSelects  Gets a value indicating whether the browser supports WML <option> elements that specify both onpick and value attributes.(inherited from HttpCapabilitiesBase)
Public property CanRenderOneventAndPrevElementsTogether  Gets a value indicating whether the browser supports WML <onevent> and <prev> elements that coexist within the same WML card.(inherited from HttpCapabilitiesBase)
Public property CanRenderPostBackCards  Gets a value indicating whether the browser supports WML cards for postback.(inherited from HttpCapabilitiesBase)
Public property CanRenderSetvarZeroWithMultiSelectionList  Gets a value indicating whether the browser supports WML <setvar> elements with a value attribute of 0.(inherited from HttpCapabilitiesBase)
Public property CanSendMail  Gets a value indicating whether the browser supports sending e-mail by using the HTML <mailto> element for displaying electronic addresses.(inherited from HttpCapabilitiesBase)
Public property Capabilities  Used internally to get the defined capabilities of the browser.(inherited from HttpCapabilitiesBase)
Public property CDF  Gets a value indicating whether the browser supports Channel Definition Format (CDF) for webcasting.(inherited from HttpCapabilitiesBase)
Public property ClrVersion  Gets the version of the .NET Framework that is installed on the client.(inherited from HttpCapabilitiesBase)
Public property Cookies  Gets a value indicating whether the browser supports cookies.(inherited from HttpCapabilitiesBase)
Public property Crawler  Gets a value indicating whether the browser is a search engine Web crawler.(inherited from HttpCapabilitiesBase)
Public property DefaultSubmitButtonLimit  Returns the maximum number of Submit buttons that are allowed for a form.(inherited from HttpCapabilitiesBase)
Public property EcmaScriptVersion  Gets the version number of ECMAScript that the browser supports.(inherited from HttpCapabilitiesBase)
Public property Frames  Gets a value indicating whether the browser supports HTML frames.(inherited from HttpCapabilitiesBase)
Public property GatewayMajorVersion  Gets the major version number of the wireless gateway used to access the server, if known. (inherited from HttpCapabilitiesBase)
Public property GatewayMinorVersion  Gets the minor version number of the wireless gateway used to access the server, if known. (inherited from HttpCapabilitiesBase)
Public property GatewayVersion  Gets the version of the wireless gateway used to access the server, if known.(inherited from HttpCapabilitiesBase)
Public property HasBackButton  Gets a value indicating whether the browser has a dedicated Back button.(inherited from HttpCapabilitiesBase)
Public property HidesRightAlignedMultiselectScrollbars  Gets a value indicating whether the scrollbar of an HTML <select multiple> element with an align attribute value of right is obscured upon rendering.(inherited from HttpCapabilitiesBase)
Public property HtmlTextWriter  Gets or sets the fully qualified class name of the HtmlTextWriter to use.(inherited from HttpCapabilitiesBase)
Public property Id  Gets the internal identifier of the browser as specified in the browser definition file.(inherited from HttpCapabilitiesBase)
Public property InputType  Returns the type of input supported by browser.(inherited from HttpCapabilitiesBase)
Public property IsColor  Gets a value indicating whether the browser has a color display.(inherited from HttpCapabilitiesBase)
Public property IsMobileDevice  Gets a value indicating whether the browser is a recognized mobile device.(inherited from HttpCapabilitiesBase)
Public property Item  Gets the value of the specified browser capability. In C#, this property is the indexer for the class.(inherited from HttpCapabilitiesBase)
Public property JavaApplets  Gets a value indicating whether the browser supports Java.(inherited from HttpCapabilitiesBase)
Public property JavaScript  Gets a value indicating whether the browser supports JavaScript.(inherited from HttpCapabilitiesBase)
Public property JScriptVersion  Gets the Jscript version that the browser supports.(inherited from HttpCapabilitiesBase)
Public property MajorVersion  Gets the major (integer) version number of the browser.(inherited from HttpCapabilitiesBase)
Public property MaximumHrefLength  Gets the maximum length in characters for the href attribute of an HTML <a> (anchor) element.(inherited from HttpCapabilitiesBase)
Public property MaximumRenderedPageSize  Gets the maximum length of the page, in bytes, which the browser can display. (inherited from HttpCapabilitiesBase)
Public property MaximumSoftkeyLabelLength  Returns the maximum length of the text that a soft-key label can display.(inherited from HttpCapabilitiesBase)
Public property MinorVersion  Gets the minor (that is, decimal) version number of the browser.(inherited from HttpCapabilitiesBase)
Public property MinorVersionString  Gets the minor (decimal) version number of the browser as a string.(inherited from HttpCapabilitiesBase)
Public property MobileDeviceManufacturer  Returns the name of the manufacturer of a mobile device, if known.(inherited from HttpCapabilitiesBase)
Public property MobileDeviceModel  Gets the model name of a mobile device, if known.(inherited from HttpCapabilitiesBase)
Public property MSDomVersion  Gets the version of Microsoft HTML (MSHTML) Document Object Model (DOM) that the browser supports.(inherited from HttpCapabilitiesBase)
Public property NumberOfSoftkeys  Returns the number of soft keys on a mobile device.(inherited from HttpCapabilitiesBase)
Public property Platform  Gets the name of the platform that the client uses, if it is known.(inherited from HttpCapabilitiesBase)
Public property PreferredImageMime  Returns the MIME type of the type of image content typically preferred by the browser.(inherited from HttpCapabilitiesBase)
Public property PreferredRenderingMime  Returns the MIME type of the type of content typically preferred by the browser.(inherited from HttpCapabilitiesBase)
Public property PreferredRenderingType  Gets the general name for the type of content that the browser prefers.(inherited from HttpCapabilitiesBase)
Public property PreferredRequestEncoding  Gets the request encoding preferred by the browser.(inherited from HttpCapabilitiesBase)
Public property PreferredResponseEncoding  Gets the response encoding preferred by the browser.(inherited from HttpCapabilitiesBase)
Public property RendersBreakBeforeWmlSelectAndInput  Gets a value indicating whether the browser renders a line break before <select> or <input> elements.(inherited from HttpCapabilitiesBase)
Public property RendersBreaksAfterHtmlLists  Gets a value indicating whether the browser renders a line break after list-item elements.(inherited from HttpCapabilitiesBase)
Public property RendersBreaksAfterWmlAnchor  Gets a value indicating whether the browser renders a line break after a stand-alone HTML <a> (anchor) element.(inherited from HttpCapabilitiesBase)
Public property RendersBreaksAfterWmlInput  Gets a value indicating whether the browser renders a line break after an HTML <input> element.(inherited from HttpCapabilitiesBase)
Public property RendersWmlDoAcceptsInline  Gets a value indicating whether the mobile-device browser renders a WML do-based form accept construct as an inline button rather than as a soft key.(inherited from HttpCapabilitiesBase)
Public property RendersWmlSelectsAsMenuCards  Gets a value indicating whether the browser renders WML <select> elements as menu cards, rather than as a combo box.(inherited from HttpCapabilitiesBase)
Public property RequiredMetaTagNameValue  Used internally to produce a meta-tag required by some browsers.(inherited from HttpCapabilitiesBase)
Public property RequiresAttributeColonSubstitution  Gets a value indicating whether the browser requires colons in element attribute values to be substituted with a different character.(inherited from HttpCapabilitiesBase)
Public property RequiresContentTypeMetaTag  Gets a value indicating whether the browser requires an HTML <meta> element for which the content-type attribute is specified.(inherited from HttpCapabilitiesBase)
Public property RequiresControlStateInSession  Gets a value indicating whether the browser requires control state to be maintained in sessions.(inherited from HttpCapabilitiesBase)
Public property RequiresDBCSCharacter  Gets a value indicating whether the browser requires a double-byte character set.(inherited from HttpCapabilitiesBase)
Public property RequiresHtmlAdaptiveErrorReporting  Gets a value indicating whether the browser requires nonstandard error messages.(inherited from HttpCapabilitiesBase)
Public property RequiresLeadingPageBreak  Gets a value indicating whether the browser requires the first element in the body of a Web page to be an HTML <br> element.(inherited from HttpCapabilitiesBase)
Public property RequiresNoBreakInFormatting  Gets a value indicating whether the browser does not support HTML <br> elements to format line breaks.(inherited from HttpCapabilitiesBase)
Public property RequiresOutputOptimization  Gets a value indicating whether the browser requires pages to contain a size-optimized form of markup language tags.(inherited from HttpCapabilitiesBase)
Public property RequiresPhoneNumbersAsPlainText  Gets a value indicating whether the browser supports phone dialing based on plain text, or whether it requires special markup.(inherited from HttpCapabilitiesBase)
Public property RequiresSpecialViewStateEncoding  Gets a value indicating whether the browser requires VIEWSTATE values to be specially encoded.(inherited from HttpCapabilitiesBase)
Public property RequiresUniqueFilePathSuffix  Gets a value indicating whether the browser requires unique form-action URLs.(inherited from HttpCapabilitiesBase)
Public property RequiresUniqueHtmlCheckboxNames  Gets a value indicating whether the browser requires unique name attribute values of multiple HTML <input type="checkbox"> elements.(inherited from HttpCapabilitiesBase)
Public property RequiresUniqueHtmlInputNames  Gets a value indicating whether the browser requires unique name attribute values of multiple HTML <input> elements.(inherited from HttpCapabilitiesBase)
Public property RequiresUrlEncodedPostfieldValues  Gets a value indicating whether postback data sent by the browser will be UrlEncoded.(inherited from HttpCapabilitiesBase)
Public property ScreenBitDepth  Returns the depth of the display, in bits per pixel.(inherited from HttpCapabilitiesBase)
Public property ScreenCharactersHeight  Returns the approximate height of the display, in character lines.(inherited from HttpCapabilitiesBase)
Public property ScreenCharactersWidth  Returns the approximate width of the display, in characters.(inherited from HttpCapabilitiesBase)
Public property ScreenPixelsHeight  Returns the approximate height of the display, in pixels.(inherited from HttpCapabilitiesBase)
Public property ScreenPixelsWidth  Returns the approximate width of the display, in pixels.(inherited from HttpCapabilitiesBase)
Public property SupportsAccesskeyAttribute  Gets a value indicating whether the browser supports the ACCESSKEY attribute of HTML <a> (anchor) and <input> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsBodyColor  Gets a value indicating whether the browser supports the bgcolor attribute of the HTML <body> element.(inherited from HttpCapabilitiesBase)
Public property SupportsBold  Gets a value indicating whether the browser supports HTML <b> elements to format bold text.(inherited from HttpCapabilitiesBase)
Public property SupportsCacheControlMetaTag  Gets a value indicating whether the browser supports the cache-control value for the http-equiv attribute of HTML <meta> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsCallback  Gets a value indicating whether the browser supports callback scripts.(inherited from HttpCapabilitiesBase)
Public property SupportsCss  Gets a value indicating whether the browser supports Cascading Style Sheets (CSS).(inherited from HttpCapabilitiesBase)
Public property SupportsDivAlign  Gets a value indicating whether the browser supports the align attribute of HTML <div> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsDivNoWrap  Gets a value indicating whether the browser supports the nowrap attribute of HTML <div> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsEmptyStringInCookieValue  Gets a value indicating whether the browser supports empty (a null reference (Nothing in Visual Basic)) strings in cookie values.(inherited from HttpCapabilitiesBase)
Public property SupportsFontColor  Gets a value indicating whether the browser supports the color attribute of HTML <font> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsFontName  Gets a value indicating whether the browser supports the name attribute of HTML <font> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsFontSize  Gets a value indicating whether the browser supports the size attribute of HTML <font> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsImageSubmit  Gets a value indicating whether the browser supports using a custom image in place of a standard form Submit button.(inherited from HttpCapabilitiesBase)
Public property SupportsIModeSymbols  Gets a value indicating whether the browser supports i-mode symbols.(inherited from HttpCapabilitiesBase)
Public property SupportsInputIStyle  Gets a value indicating whether the browser supports the istyle attribute of HTML <input> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsInputMode  Gets a value indicating whether the browser supports the mode attribute of HTML <input> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsItalic  Gets a value indicating whether the browser supports HTML <i> elements to format italic text.(inherited from HttpCapabilitiesBase)
Public property SupportsJPhoneMultiMediaAttributes  Gets a value indicating whether the browser supports J-Phone multimedia attributes.(inherited from HttpCapabilitiesBase)
Public property SupportsJPhoneSymbols  Gets a value indicating whether the browser supports J-Phone–specific picture symbols.(inherited from HttpCapabilitiesBase)
Public property SupportsQueryStringInFormAction  Gets a value indicating whether the browser supports a query string in the action attribute value of HTML <form> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsRedirectWithCookie  Gets a value indicating whether the browser supports cookies on redirection.(inherited from HttpCapabilitiesBase)
Public property SupportsSelectMultiple  Gets a value indicating whether the browser supports the multiple attribute of HTML <select> elements.(inherited from HttpCapabilitiesBase)
Public property SupportsUncheck  Gets a value indicating whether the clearing of a checked HTML <input type=checkbox> element is reflected in postback data.(inherited from HttpCapabilitiesBase)
Public property SupportsXmlHttp  Gets a value indicating whether the browser supports receiving XML over HTTP.(inherited from HttpCapabilitiesBase)
Public property Tables  Gets a value indicating whether the browser supports HTML <table> elements.(inherited from HttpCapabilitiesBase)
Public property TagWriter  Used internally to get the type of the object that is used to write tags for the browser.(inherited from HttpCapabilitiesBase)
Public property Type  Gets the name and major (integer) version number of the browser.(inherited from HttpCapabilitiesBase)
Public property UseOptimizedCacheKey  Used internally to get a value indicating whether to use an optimized cache key.(inherited from HttpCapabilitiesBase)
Public property VBScript  Gets a value indicating whether the browser supports Visual Basic Scripting edition (VBScript).(inherited from HttpCapabilitiesBase)
Public property Version  Gets the full version number (integer and decimal) of the browser as a string.(inherited from HttpCapabilitiesBase)
Public property W3CDomVersion  Gets the version of the World Wide Web Consortium (W3C) XML Document Object Model (DOM) that the browser supports.(inherited from HttpCapabilitiesBase)
Public property Win16  Gets a value indicating whether the client is a Win16-based computer.(inherited from HttpCapabilitiesBase)
Public property Win32  Gets a value indicating whether the client is a Win32-based computer.(inherited from HttpCapabilitiesBase)
Top

(see also Protected Methods )
  Name Description
Public method AddBrowser  Used internally to add an entry to the internal collection of browsers for which capabilities are recognized. (inherited from HttpCapabilitiesBase)
Public method CreateHtmlTextWriter  Creates a new instance of the HtmlTextWriter to be used. (inherited from HttpCapabilitiesBase)
Public method DisableOptimizedCacheKey  Used internally to disable use of an optimized cache key. (inherited from HttpCapabilitiesBase)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetClrVersions  Returns all versions of the .NET Framework common language runtime that are installed on the client. (inherited from HttpCapabilitiesBase)
Public method Static GetConfigCapabilities  Used internally to return an instance of HttpCapabilitiesBase representing the browser that generated the specified HttpRequest. (inherited from HttpCapabilitiesBase)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsBrowser  Gets a value indicating whether the client browser is the same as the specified browser. (inherited from HttpCapabilitiesBase)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Init  Used internally to initialize an internal set of values. (inherited from HttpCapabilitiesBase)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: