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