Expand
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.

Public Constructors

  Name Description
Public methodHttpBrowserCapabilitiesCreates a new instance of the HttpBrowserCapabilities class.
Top
Public Properties

  Name Description
Public propertyActiveXControls  Gets a value indicating whether the browser supports ActiveX controls.(Inherited from HttpCapabilitiesBase.)
Public propertyAdapters  Returns the collection of available control adapters.(Inherited from HttpCapabilitiesBase.)
Public propertyAOL  Gets a value indicating whether the client is an America Online (AOL) browser.(Inherited from HttpCapabilitiesBase.)
Public propertyBackgroundSounds  Gets a value indicating whether the browser supports playing background sounds using the <bgsounds> HTML element.(Inherited from HttpCapabilitiesBase.)
Public propertyBeta  Gets a value indicating whether the browser is a beta version.(Inherited from HttpCapabilitiesBase.)
Public propertyBrowser  Gets the browser string (if any) that was sent by the browser in the User-Agent request header.(Inherited from HttpCapabilitiesBase.)
Public propertyBrowsers  Gets an ArrayList of the browsers in the Capabilities dictionary.(Inherited from HttpCapabilitiesBase.)
Public propertyCanCombineFormsInDeck  Gets a value indicating whether the browser supports decks that contain multiple forms, such as separate cards.(Inherited from HttpCapabilitiesBase.)
Public propertyCanInitiateVoiceCall  Gets a value indicating whether the browser device is capable of initiating a voice call.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderAfterInputOrSelectElement  Gets a value indicating whether the browser supports page content following WML <select> or <input> elements.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderEmptySelects  Gets a value indicating whether the browser supports empty HTML <select> elements.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderInputAndSelectElementsTogether  Gets a value indicating whether the browser supports WML INPUT and SELECT elements together on the same card.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderMixedSelects  Gets a value indicating whether the browser supports WML <option> elements that specify both onpick and value attributes.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderOneventAndPrevElementsTogether  Gets a value indicating whether the browser supports WML <onevent> and <prev> elements that coexist within the same WML card.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderPostBackCards  Gets a value indicating whether the browser supports WML cards for postback.(Inherited from HttpCapabilitiesBase.)
Public propertyCanRenderSetvarZeroWithMultiSelectionList  Gets a value indicating whether the browser supports WML <setvar> elements with a value attribute of 0.(Inherited from HttpCapabilitiesBase.)
Public propertyCanSendMail  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 propertyCapabilities  Used internally to get the defined capabilities of the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyCDF  Gets a value indicating whether the browser supports Channel Definition Format (CDF) for webcasting.(Inherited from HttpCapabilitiesBase.)
Public propertyClrVersion  Gets the version of the .NET Framework that is installed on the client.(Inherited from HttpCapabilitiesBase.)
Public propertyCookies  Gets a value indicating whether the browser supports cookies.(Inherited from HttpCapabilitiesBase.)
Public propertyCrawler  Gets a value indicating whether the browser is a search engine Web crawler.(Inherited from HttpCapabilitiesBase.)
Public propertyDefaultSubmitButtonLimit  Returns the maximum number of Submit buttons that are allowed for a form.(Inherited from HttpCapabilitiesBase.)
Public propertyEcmaScriptVersion  Gets the version number of ECMAScript that the browser supports.(Inherited from HttpCapabilitiesBase.)
Public propertyFrames  Gets a value indicating whether the browser supports HTML frames.(Inherited from HttpCapabilitiesBase.)
Public propertyGatewayMajorVersion  Gets the major version number of the wireless gateway used to access the server, if known. (Inherited from HttpCapabilitiesBase.)
Public propertyGatewayMinorVersion  Gets the minor version number of the wireless gateway used to access the server, if known. (Inherited from HttpCapabilitiesBase.)
Public propertyGatewayVersion  Gets the version of the wireless gateway used to access the server, if known.(Inherited from HttpCapabilitiesBase.)
Public propertyHasBackButton  Gets a value indicating whether the browser has a dedicated Back button.(Inherited from HttpCapabilitiesBase.)
Public propertyHidesRightAlignedMultiselectScrollbars  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 propertyHtmlTextWriter  Gets or sets the fully qualified class name of the HtmlTextWriter to use.(Inherited from HttpCapabilitiesBase.)
Public propertyId  Gets the internal identifier of the browser as specified in the browser definition file.(Inherited from HttpCapabilitiesBase.)
Public propertyInputType  Returns the type of input supported by browser.(Inherited from HttpCapabilitiesBase.)
Public propertyIsColor  Gets a value indicating whether the browser has a color display.(Inherited from HttpCapabilitiesBase.)
Public propertyIsMobileDevice  Gets a value indicating whether the browser is a recognized mobile device.(Inherited from HttpCapabilitiesBase.)
Public propertyItem  Gets the value of the specified browser capability. In C#, this property is the indexer for the class.(Inherited from HttpCapabilitiesBase.)
Public propertyJavaApplets  Gets a value indicating whether the browser supports Java.(Inherited from HttpCapabilitiesBase.)
Public propertyJavaScript  Gets a value indicating whether the browser supports JavaScript.(Inherited from HttpCapabilitiesBase.)
Public propertyJScriptVersion  Gets the Jscript version that the browser supports.(Inherited from HttpCapabilitiesBase.)
Public propertyMajorVersion  Gets the major (integer) version number of the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyMaximumHrefLength  Gets the maximum length in characters for the href attribute of an HTML <a> (anchor) element.(Inherited from HttpCapabilitiesBase.)
Public propertyMaximumRenderedPageSize  Gets the maximum length of the page, in bytes, which the browser can display. (Inherited from HttpCapabilitiesBase.)
Public propertyMaximumSoftkeyLabelLength  Returns the maximum length of the text that a soft-key label can display.(Inherited from HttpCapabilitiesBase.)
Public propertyMinorVersion  Gets the minor (that is, decimal) version number of the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyMinorVersionString  Gets the minor (decimal) version number of the browser as a string.(Inherited from HttpCapabilitiesBase.)
Public propertyMobileDeviceManufacturer  Returns the name of the manufacturer of a mobile device, if known.(Inherited from HttpCapabilitiesBase.)
Public propertyMobileDeviceModel  Gets the model name of a mobile device, if known.(Inherited from HttpCapabilitiesBase.)
Public propertyMSDomVersion  Gets the version of Microsoft HTML (MSHTML) Document Object Model (DOM) that the browser supports.(Inherited from HttpCapabilitiesBase.)
Public propertyNumberOfSoftkeys  Returns the number of soft keys on a mobile device.(Inherited from HttpCapabilitiesBase.)
Public propertyPlatform  Gets the name of the platform that the client uses, if it is known.(Inherited from HttpCapabilitiesBase.)
Public propertyPreferredImageMime  Returns the MIME type of the type of image content typically preferred by the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyPreferredRenderingMime  Returns the MIME type of the type of content typically preferred by the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyPreferredRenderingType  Gets the general name for the type of content that the browser prefers.(Inherited from HttpCapabilitiesBase.)
Public propertyPreferredRequestEncoding  Gets the request encoding preferred by the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyPreferredResponseEncoding  Gets the response encoding preferred by the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyRendersBreakBeforeWmlSelectAndInput  Gets a value indicating whether the browser renders a line break before <select> or <input> elements.(Inherited from HttpCapabilitiesBase.)
Public propertyRendersBreaksAfterHtmlLists  Gets a value indicating whether the browser renders a line break after list-item elements.(Inherited from HttpCapabilitiesBase.)
Public propertyRendersBreaksAfterWmlAnchor  Gets a value indicating whether the browser renders a line break after a stand-alone HTML <a> (anchor) element.(Inherited from HttpCapabilitiesBase.)
Public propertyRendersBreaksAfterWmlInput  Gets a value indicating whether the browser renders a line break after an HTML <input> element.(Inherited from HttpCapabilitiesBase.)
Public propertyRendersWmlDoAcceptsInline  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 propertyRendersWmlSelectsAsMenuCards  Gets a value indicating whether the browser renders WML <select> elements as menu cards, rather than as a combo box.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiredMetaTagNameValue  Used internally to produce a meta-tag required by some browsers.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresAttributeColonSubstitution  Gets a value indicating whether the browser requires colons in element attribute values to be substituted with a different character.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresContentTypeMetaTag  Gets a value indicating whether the browser requires an HTML <meta> element for which the content-type attribute is specified.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresControlStateInSession  Gets a value indicating whether the browser requires control state to be maintained in sessions.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresDBCSCharacter  Gets a value indicating whether the browser requires a double-byte character set.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresHtmlAdaptiveErrorReporting  Gets a value indicating whether the browser requires nonstandard error messages.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresLeadingPageBreak  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 propertyRequiresNoBreakInFormatting  Gets a value indicating whether the browser does not support HTML <br> elements to format line breaks.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresOutputOptimization  Gets a value indicating whether the browser requires pages to contain a size-optimized form of markup language tags.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresPhoneNumbersAsPlainText  Gets a value indicating whether the browser supports phone dialing based on plain text, or whether it requires special markup.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresSpecialViewStateEncoding  Gets a value indicating whether the browser requires VIEWSTATE values to be specially encoded.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresUniqueFilePathSuffix  Gets a value indicating whether the browser requires unique form-action URLs.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresUniqueHtmlCheckboxNames  Gets a value indicating whether the browser requires unique name attribute values of multiple HTML <input type="checkbox"> elements.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresUniqueHtmlInputNames  Gets a value indicating whether the browser requires unique name attribute values of multiple HTML <input> elements.(Inherited from HttpCapabilitiesBase.)
Public propertyRequiresUrlEncodedPostfieldValues  Gets a value indicating whether postback data sent by the browser will be UrlEncoded.(Inherited from HttpCapabilitiesBase.)
Public propertyScreenBitDepth  Returns the depth of the display, in bits per pixel.(Inherited from HttpCapabilitiesBase.)
Public propertyScreenCharactersHeight  Returns the approximate height of the display, in character lines.(Inherited from HttpCapabilitiesBase.)
Public propertyScreenCharactersWidth  Returns the approximate width of the display, in characters.(Inherited from HttpCapabilitiesBase.)
Public propertyScreenPixelsHeight  Returns the approximate height of the display, in pixels.(Inherited from HttpCapabilitiesBase.)
Public propertyScreenPixelsWidth  Returns the approximate width of the display, in pixels.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsAccesskeyAttribute  Gets a value indicating whether the browser supports the ACCESSKEY attribute of HTML <a> (anchor) and <input> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsBodyColor  Gets a value indicating whether the browser supports the bgcolor attribute of the HTML <body> element.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsBold  Gets a value indicating whether the browser supports HTML <b> elements to format bold text.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsCacheControlMetaTag  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 propertySupportsCallback  Gets a value indicating whether the browser supports callback scripts.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsCss  Gets a value indicating whether the browser supports Cascading Style Sheets (CSS).(Inherited from HttpCapabilitiesBase.)
Public propertySupportsDivAlign  Gets a value indicating whether the browser supports the align attribute of HTML <div> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsDivNoWrap  Gets a value indicating whether the browser supports the nowrap attribute of HTML <div> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsEmptyStringInCookieValue  Gets a value indicating whether the browser supports empty (a null reference (Nothing in Visual Basic)) strings in cookie values.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsFontColor  Gets a value indicating whether the browser supports the color attribute of HTML <font> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsFontName  Gets a value indicating whether the browser supports the name attribute of HTML <font> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsFontSize  Gets a value indicating whether the browser supports the size attribute of HTML <font> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsImageSubmit  Gets a value indicating whether the browser supports using a custom image in place of a standard form Submit button.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsIModeSymbols  Gets a value indicating whether the browser supports i-mode symbols.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsInputIStyle  Gets a value indicating whether the browser supports the istyle attribute of HTML <input> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsInputMode  Gets a value indicating whether the browser supports the mode attribute of HTML <input> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsItalic  Gets a value indicating whether the browser supports HTML <i> elements to format italic text.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsJPhoneMultiMediaAttributes  Gets a value indicating whether the browser supports J-Phone multimedia attributes.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsJPhoneSymbols  Gets a value indicating whether the browser supports J-Phone–specific picture symbols.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsQueryStringInFormAction  Gets a value indicating whether the browser supports a query string in the action attribute value of HTML <form> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsRedirectWithCookie  Gets a value indicating whether the browser supports cookies on redirection.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsSelectMultiple  Gets a value indicating whether the browser supports the multiple attribute of HTML <select> elements.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsUncheck  Gets a value indicating whether the clearing of a checked HTML <input type=checkbox> element is reflected in postback data.(Inherited from HttpCapabilitiesBase.)
Public propertySupportsXmlHttp  Gets a value indicating whether the browser supports receiving XML over HTTP.(Inherited from HttpCapabilitiesBase.)
Public propertyTables  Gets a value indicating whether the browser supports HTML <table> elements.(Inherited from HttpCapabilitiesBase.)
Public propertyTagWriter  Used internally to get the type of the object that is used to write tags for the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyType  Gets the name and major (integer) version number of the browser.(Inherited from HttpCapabilitiesBase.)
Public propertyUseOptimizedCacheKey  Used internally to get a value indicating whether to use an optimized cache key.(Inherited from HttpCapabilitiesBase.)
Public propertyVBScript  Gets a value indicating whether the browser supports Visual Basic Scripting edition (VBScript).(Inherited from HttpCapabilitiesBase.)
Public propertyVersion  Gets the full version number (integer and decimal) of the browser as a string.(Inherited from HttpCapabilitiesBase.)
Public propertyW3CDomVersion  Gets the version of the World Wide Web Consortium (W3C) XML Document Object Model (DOM) that the browser supports.(Inherited from HttpCapabilitiesBase.)
Public propertyWin16  Gets a value indicating whether the client is a Win16-based computer.(Inherited from HttpCapabilitiesBase.)
Public propertyWin32  Gets a value indicating whether the client is a Win32-based computer.(Inherited from HttpCapabilitiesBase.)
Top
Public Methods

(see also Protected Methods )
  Name Description
Public methodAddBrowser  Used internally to add an entry to the internal collection of browsers for which capabilities are recognized. (Inherited from HttpCapabilitiesBase.)
Public methodCreateHtmlTextWriter  Creates a new instance of the HtmlTextWriter to be used. (Inherited from HttpCapabilitiesBase.)
Public methodDisableOptimizedCacheKey  Used internally to disable use of an optimized cache key. (Inherited from HttpCapabilitiesBase.)
Public methodEquals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public methodGetClrVersions  Returns all versions of the .NET Framework common language runtime that are installed on the client. (Inherited from HttpCapabilitiesBase.)
Public methodStaticGetConfigCapabilities  Used internally to return an instance of HttpCapabilitiesBase representing the browser that generated the specified HttpRequest. (Inherited from HttpCapabilitiesBase.)
Public methodGetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public methodGetType  Gets the Type of the current instance. (Inherited from Object.)
Public methodIsBrowser  Gets a value indicating whether the client browser is the same as the specified browser. (Inherited from HttpCapabilitiesBase.)
Public methodStaticReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public methodToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
Protected Methods

  Name Description
Protected methodFinalize  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 methodInit  Used internally to initialize an internal set of values. (Inherited from HttpCapabilitiesBase.)
Protected methodMemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
Community ContentAdd
Page view tracker