HttpBrowserCapabilitiesWrapper Classe

Definição

Encapsula o objeto HTTP intrínseco que habilita o servidor a reunir informações sobre os recursos do navegador que fez a solicitação atual.Encapsulates the HTTP intrinsic object that enables the server to gather information about the capabilities of the browser that has made the current request.

public ref class HttpBrowserCapabilitiesWrapper : System::Web::HttpBrowserCapabilitiesBase
public class HttpBrowserCapabilitiesWrapper : System.Web.HttpBrowserCapabilitiesBase
type HttpBrowserCapabilitiesWrapper = class
    inherit HttpBrowserCapabilitiesBase
Public Class HttpBrowserCapabilitiesWrapper
Inherits HttpBrowserCapabilitiesBase
Herança
HttpBrowserCapabilitiesWrapper

Comentários

A HttpBrowserCapabilitiesWrapper classe deriva da HttpBrowserCapabilitiesBase classe e serve como um wrapper para a HttpBrowserCapabilities classe.The HttpBrowserCapabilitiesWrapper class derives from the HttpBrowserCapabilitiesBase class and serves as a wrapper for the HttpBrowserCapabilities class. Essa classe expõe a funcionalidade da HttpBrowserCapabilities classe e expõe o HttpBrowserCapabilitiesBase tipo.This class exposes the functionality of the HttpBrowserCapabilities class and exposes the HttpBrowserCapabilitiesBase type. A HttpBrowserCapabilitiesBase classe permite que você substitua a implementação original da HttpBrowserCapabilities classe em seu aplicativo por uma implementação personalizada, como quando você executa o teste de unidade fora do pipeline do ASP.net.The HttpBrowserCapabilitiesBase class enables you to replace the original implementation of the HttpBrowserCapabilities class in your application with a custom implementation, such as when you perform unit testing outside the ASP.NET pipeline.

Construtores

HttpBrowserCapabilitiesWrapper(HttpBrowserCapabilities)

Inicializa uma nova instância da classe HttpBrowserCapabilitiesWrapper.Initializes a new instance of the HttpBrowserCapabilitiesWrapper class.

Propriedades

ActiveXControls

Obtém um valor que indica se o navegador é capaz de dar suporte a controles ActiveX.Gets a value that indicates whether the browser is capable of supporting ActiveX controls.

Adapters

Obtém a coleção de adaptadores de controle disponíveis.Gets the collection of available control adapters.

AOL

Obtém um valor que indica se o cliente é um navegador da AOL (America Online).Gets a value that indicates whether the client is an America Online (AOL) browser.

BackgroundSounds

Obtém um valor que indica se o navegador dá suporte à reprodução de sons em segundo plano usando o elemento HTML bgsounds.Gets a value that indicates whether the browser supports playing background sounds by using the bgsounds HTML element.

Beta

Obtém um valor que indica se o navegador é uma versão beta.Gets a value that indicates whether the browser is a beta version.

Browser

Obtém a cadeia de caracteres do navegador (se houver) que foi enviada pelo navegador no cabeçalho de solicitação User-Agent.Gets the browser string (if any) that was sent by the browser in the User-Agent request header.

Browsers

Obtém uma coleção de navegadores para os quais as funcionalidades são reconhecidas.Gets a collection of browsers for which capabilities are recognized.

CanCombineFormsInDeck

Obtém um valor que indica se o navegador dá suporte a coleções que contêm vários formulários, tais como cartões separados.Gets a value that indicates whether the browser supports decks that contain multiple forms, such as separate cards.

CanInitiateVoiceCall

Obtém um valor que indica se o dispositivo de navegador é capaz de iniciar uma chamada de voz.Gets a value that indicates whether the browser device is capable of initiating a voice call.

CanRenderAfterInputOrSelectElement

Obtém um valor que indica se o navegador dá suporte a conteúdo de página que segue elementos select ou input de WML.Gets a value that indicates whether the browser supports page content that follows WML select or input elements.

CanRenderEmptySelects

Obtém um valor que indica se o navegador dá suporte a conteúdo de página depois dos elementos HTML select vazios.Gets a value that indicates whether the browser supports empty HTML select elements.

CanRenderInputAndSelectElementsTogether

Obtém um valor que indica se o navegador dá suporte aos elementos WML input e select juntos no mesmo cartão.Gets a value that indicates whether the browser supports WML input and select elements together in the same card.

CanRenderMixedSelects

Obtém um valor que indica se o navegador dá suporte a elementos WML option que especificam ambos os atributos onpick e value.Gets a value that indicates whether the browser supports WML option elements that specify both onpick and value attributes.

CanRenderOneventAndPrevElementsTogether

Obtém um valor que indica se o navegador dá suporte aos elementos WML onevent e prev no mesmo cartão.Gets a value that indicates whether the browser supports WML onevent and prev elements in the same card.

CanRenderPostBackCards

Obtém um valor que indica se o navegador dá suporte a cartões WML para postback.Gets a value that indicates whether the browser supports WML cards for postback.

CanRenderSetvarZeroWithMultiSelectionList

Obtém um valor que indica se o navegador dá suporte a elementos WML setvar que têm um atributos value de 0.Gets a value that indicates whether the browser supports WML setvar elements that have a value attribute of 0.

CanSendMail

Obtém um valor que indica se o navegador dá suporte ao envio de mensagens de email usando o esquema mailto HTML.Gets a value that indicates whether the browser supports sending email messages by using the HTML mailto scheme.

Capabilities

Usada internamente para obter as funcionalidades definidas do navegador.Used internally to get the defined capabilities of the browser.

CDF

Obtém um valor que indica se o navegador dá suporte ao CDF (formato de definição de canais) para webcasting.Gets a value that indicates whether the browser supports Channel Definition Format (CDF) for webcasting.

ClrVersion

Obtém a versão do .NET Framework que está instalada no cliente.Gets the version of the .NET Framework that is installed on the client.

Cookies

Obtém um valor que indica se o navegador é capaz de dar suporte a cookies.Gets a value that indicates whether the browser is capable of supporting cookies.

Crawler

Obtém um valor que indica se o navegador é um rastreador da Web do mecanismo de pesquisa.Gets a value that indicates whether the browser is a search-engine Web crawler.

DefaultSubmitButtonLimit

Obtém o número máximo de botões de envio que são permitidos para um formulário.Gets the maximum number of submit buttons that are allowed for a form.

EcmaScriptVersion

Obtém o número de versão do ECMAScript (JavaScript) para o qual o navegador dá suporte.Gets the version number of ECMAScript (JavaScript) that the browser supports.

Frames

Obtém um valor que indica se o navegador dá suporte a quadros HTML.Gets a value that indicates whether the browser supports HTML frames.

GatewayMajorVersion

Obtém o número de versão principal do gateway sem fio que é usado para acessar o servidor, se conhecido.Gets the major version number of the wireless gateway that is used to access the server, if known.

GatewayMinorVersion

Obtém o número de versão secundária do gateway sem fio que é usado para acessar o servidor, se conhecido.Gets the minor version number of the wireless gateway that is used to access the server, if known.

GatewayVersion

Obtém a versão do gateway sem fio que é usado para acessar o servidor, se conhecido.Gets the version of the wireless gateway that is used to access the server, if known.

HasBackButton

Obtém um valor que indica se o navegador tem um botão Voltar dedicado.Gets a value that indicates whether the browser has a dedicated Back button.

HidesRightAlignedMultiselectScrollbars

Obtém um valor que indica se a barra de rolagem de um elemento HTML select multiple que tem um valor de atributo align de right é obscurecida após a renderização.Gets a value that indicates whether the scrollbar of an HTML select multiple element that has an align attribute value of right is obscured upon rendering.

HtmlTextWriter

Obtém ou define o nome de classe totalmente qualificado do HtmlTextWriter a ser usado para gravar caracteres de marcação e texto.Gets or sets the fully qualified class name of the HtmlTextWriter to use for writing markup characters and text.

Id

Obtém o identificador interno do navegador conforme especificado no arquivo de definição do navegador.Gets the internal identifier of the browser as specified in the browser definition file.

InputType

Obtém o tipo de entrada que tem suporte pelo navegador.Gets the type of input that is supported by the browser.

IsColor

Obtém um valor que indica se o navegador tem uma exibição em cores.Gets a value that indicates whether the browser has a color display.

IsMobileDevice

Obtém um valor que indica se o navegador é um dispositivo móvel reconhecido.Gets a value that indicates whether the browser is a recognized mobile device.

Item[String]

Obtém o valor da funcionalidade de navegador especificada.Gets the value of the specified browser capability. No C#, essa propriedade é o indexador da classe.In C#, this property is the indexer for the class.

JavaApplets

Obtém um valor que indica se o navegador dá suporte a Java.Gets a value that indicates whether the browser supports Java.

JScriptVersion

Obtém a versão de JScript à qual o navegador dá suporte.Gets the JScript version that the browser supports.

MajorVersion

Obtém o número de versão principal (inteiro) do navegador.Gets the major (integer) version number of the browser.

MaximumHrefLength

Obtém o comprimento máximo em caracteres para o atributo href de um elemento HTML a (âncora).Gets the maximum length in characters for the href attribute of an HTML a (anchor) element.

MaximumRenderedPageSize

Obtém o tamanho máximo da página, em bytes, que o navegador pode exibir.Gets the maximum length of the page, in bytes, that the browser can display.

MaximumSoftkeyLabelLength

Obtém o comprimento máximo do texto que um rótulo de tecla pode exibir.Gets the maximum length of the text that a soft-key label can display.

MinorVersion

Obtém o número de versão secundária (decimal) do navegador.Gets the minor (decimal) version number of the browser.

MinorVersionString

Obtém o número de versão secundária (decimal) do navegador como uma cadeia de caracteres.Gets the minor (decimal) version number of the browser as a string.

MobileDeviceManufacturer

Obtém o nome do fabricante de um dispositivo móvel, se conhecido.Gets the name of the manufacturer of a mobile device, if known.

MobileDeviceModel

Obtém o nome do modelo de um dispositivo móvel, se conhecido.Gets the model name of a mobile device, if known.

MSDomVersion

Obtém a versão do DOM (Modelo de Objeto do Documento) MSHTML (Microsoft HTML) à qual o navegador dá suporte.Gets the version of the Microsoft HTML (MSHTML) Document Object Model (DOM) that the browser supports.

NumberOfSoftkeys

Obtém o número de chaves de software em um dispositivo móvel.Gets the number of softkeys on a mobile device.

Platform

Obtém o nome do sistema operacional que o cliente está usando, se conhecido.Gets the name of the operating system that the client is using, if known.

PreferredImageMime

Obtém o tipo MIME do tipo de conteúdo de imagem normalmente preferido pelo navegador.Gets the MIME type of the type of image content that the browser typically prefers.

PreferredRenderingMime

Obtém o tipo MIME do tipo de conteúdo normalmente preferido pelo navegador.Gets the MIME type of the type of content that the browser typically prefers.

PreferredRenderingType

Obtém o nome geral para o tipo de conteúdo que o navegador prefere.Gets the general name for the type of content that the browser prefers.

PreferredRequestEncoding

Obtém a codificação de solicitação preferida pelo navegador.Gets the request encoding that the browser prefers.

PreferredResponseEncoding

Obtém a codificação de resposta preferida pelo navegador.Gets the response encoding that the browser prefers.

RendersBreakBeforeWmlSelectAndInput

Obtém um valor que indica se o navegador renderiza uma quebra de linha antes dos elementos select ou input.Gets a value that indicates whether the browser renders a line break before select or input elements.

RendersBreaksAfterHtmlLists

Obtém um valor que indica se o navegador renderiza uma quebra de linha após elementos de item de lista.Gets a value that indicates whether the browser renders a line break after list-item elements.

RendersBreaksAfterWmlAnchor

Obtém um valor que indica se o navegador renderiza uma quebra de linha após um elemento WML standalone de a (âncora).Gets a value that indicates whether the browser renders a line break after a standalone WML a (anchor) element.

RendersBreaksAfterWmlInput

Obtém um valor que indica se o navegador renderiza uma quebra de linha após um elemento WML input.Gets a value that indicates whether the browser renders a line break after a WML input element.

RendersWmlDoAcceptsInline

Obtém um valor que indica se o navegador de dispositivo móvel renderiza um constructo de aceitação de formulário do WML como um botão embutido em vez de como uma tecla.Gets a value that indicates whether the mobile-device browser renders a WML do form accept construct as an inline button instead of as a softkey.

RendersWmlSelectsAsMenuCards

Obtém um valor que indica se o navegador renderiza elementos WML select como cartões de menu, em vez de como uma caixa de combinação.Gets a value that indicates whether the browser renders WML select elements as menu cards, instead of as a combo box.

RequiredMetaTagNameValue

Usada internamente para produzir uma marca meta requerida por alguns navegadores.Used internally to produce a meta-tag that is required by some browsers.

RequiresAttributeColonSubstitution

Obtém um valor que indica se o navegador requer dois-pontos em valores de atributo de elemento a serem substituídos por um caractere diferente.Gets a value that indicates whether the browser requires colons in element attribute values to be replaced with a different character.

RequiresContentTypeMetaTag

Obtém um valor que indica se o navegador requer um elemento HTML meta para o qual o atributo content-type é especificado.Gets a value that indicates whether the browser requires an HTML meta element for which the content-type attribute is specified.

RequiresControlStateInSession

Obtém um valor que indica se o navegador requer que o controle de estado seja mantido nas sessões.Gets a value that indicates whether the browser requires control state to be maintained in sessions.

RequiresDBCSCharacter

Obtém um valor que indica se o navegador requer um conjunto de caracteres de byte duplo.Gets a value that indicates whether the browser requires a double-byte character set.

RequiresHtmlAdaptiveErrorReporting

Obtém um valor que indica se o navegador requer mensagens de erro não padrão.Gets a value that indicates whether the browser requires nonstandard error messages.

RequiresLeadingPageBreak

Obtém um valor que indica se o navegador exige que o primeiro elemento no corpo de uma página da Web seja um elemento HTML br.Gets a value that indicates whether the browser requires the first element in the body of a Web page to be an HTML br element.

RequiresNoBreakInFormatting

Obtém um valor que indica se o navegador não dá suporte a elementos HTML br para formatar quebras de linha.Gets a value that indicates whether the browser does not support HTML br elements to format line breaks.

RequiresOutputOptimization

Obtém um valor que indica se o navegador requer que as páginas contenham um formulário com tamanho otimizado de marcas de linguagem de marcação.Gets a value that indicates whether the browser requires pages to contain a size-optimized form of markup language tags.

RequiresPhoneNumbersAsPlainText

Obtém um valor que indica se o navegador dá suporte a discagem telefônica com base em texto sem formatação ou se ele requer marcação especial.Gets a value that indicates whether the browser supports telephone dialing based on plain text, or whether it requires special markup.

RequiresSpecialViewStateEncoding

Obtém um valor que indica se o navegador requer que valores de estado de exibição tenham codificação especial.Gets a value that indicates whether the browser requires view-state values to be specially encoded.

RequiresUniqueFilePathSuffix

Obtém um valor que indica se o navegador requer URLs de ação de formulário exclusivas.Gets a value that indicates whether the browser requires unique form-action URLs.

RequiresUniqueHtmlCheckboxNames

Obtém um valor que indica se o navegador valores de atributo name exclusivos de vários elementos HTML input type="checkbox".Gets a value that indicates whether the browser requires unique name attribute values for multiple HTML input type="checkbox" elements.

RequiresUniqueHtmlInputNames

Obtém um valor que indica se o navegador valores de atributo name exclusivos de vários elementos HTML input.Gets a value that indicates whether the browser requires unique name attribute values for multiple HTML input elements.

RequiresUrlEncodedPostfieldValues

Obtém um valor que indica se os dados de postagem enviados pelo navegador serão codificados como URL.Gets a value that indicates whether postback data that is sent by the browser will be URL-encoded.

ScreenBitDepth

Obtém a intensidade da tela, em bits por pixel.Gets the depth of the display, in bits per pixel.

ScreenCharactersHeight

Obtém a altura aproximada da tela, em linhas de caracteres.Gets the approximate height of the display, in character lines.

ScreenCharactersWidth

Obtém a largura aproximada da tela, em caracteres.Gets the approximate width of the display, in characters.

ScreenPixelsHeight

Obtém a altura aproximada da tela, em pixels.Gets the approximate height of the display, in pixels.

ScreenPixelsWidth

Obtém a largura aproximada da tela, em pixels.Gets the approximate width of the display, in pixels.

SupportsAccesskeyAttribute

Obtém um valor que indica se o navegador dá suporte ao atributo accesskey dos elementos HTML a (âncora) e input.Gets a value that indicates whether the browser supports the accesskey attribute of HTML a (anchor) and input elements.

SupportsBodyColor

Obtém um valor que indica se o navegador dá suporte ao atributo bgcolor do elemento HTML body.Gets a value that indicates whether the browser supports the bgcolor attribute of the HTML body element.

SupportsBold

Obtém um valor que indica se o navegador dá suporte aos elementos HTML b para formatar texto em negrito.Gets a value that indicates whether the browser supports HTML b elements to format bold text.

SupportsCacheControlMetaTag

Obtém um valor que indica se o navegador dá suporte ao valor cache-control do atributo http-equiv de elementos HTML meta.Gets a value that indicates whether the browser supports the cache-control value for the http-equiv attribute of HTML meta elements.

SupportsCallback

Obtém um valor que indica se o navegador dá suporte a scripts de retorno de chamada.Gets a value that indicates whether the browser supports callback scripts.

SupportsCss

Obtém um valor que indica se o navegador dá suporte a CSS (folhas de estilos em cascata).Gets a value that indicates whether the browser supports cascading style sheets (CSS).

SupportsDivAlign

Obtém um valor que indica se o navegador dá suporte ao atributo align de elementos HTML div.Gets a value that indicates whether the browser supports the align attribute of HTML div elements.

SupportsDivNoWrap

Obtém um valor que indica se o navegador dá suporte ao atributo nowrap de elementos HTML div.Gets a value that indicates whether the browser supports the nowrap attribute of HTML div elements.

SupportsEmptyStringInCookieValue

Obtém um valor que indica se o navegador dá suporte a cadeias de caracteres vazias em valores de cookie.Gets a value that indicates whether the browser supports empty strings in cookie values.

SupportsFontColor

Obtém um valor que indica se o navegador dá suporte ao atributo color de elementos HTML font.Gets a value that indicates whether the browser supports the color attribute of HTML font elements.

SupportsFontName

Obtém um valor que indica se o navegador dá suporte ao atributo name de elementos HTML font.Gets a value that indicates whether the browser supports the name attribute of HTML font elements.

SupportsFontSize

Obtém um valor que indica se o navegador dá suporte ao atributo size de elementos HTML font.Gets a value that indicates whether the browser supports the size attribute of HTML font elements.

SupportsImageSubmit

Obtém um valor que indica se o navegador dá suporte ao uso de uma imagem personalizada no lugar de um botão de envio de formulário padrão.Gets a value that indicates whether the browser supports the use of a custom image in place of a standard form submit button.

SupportsIModeSymbols

Obtém um valor que indica se o navegador dá suporte a símbolos i-mode.Gets a value that indicates whether the browser supports i-mode symbols.

SupportsInputIStyle

Obtém um valor que indica se o navegador dá suporte ao atributo istyle de elementos HTML input.Gets a value that indicates whether the browser supports the istyle attribute of HTML input elements.

SupportsInputMode

Obtém um valor que indica se o navegador dá suporte ao atributo mode de elementos HTML input.Gets a value that indicates whether the browser supports the mode attribute of HTML input elements.

SupportsItalic

Obtém um valor que indica se o navegador dá suporte aos elementos HTML i para formatar texto em itálico.Gets a value that indicates whether the browser supports HTML i elements to format italic text.

SupportsJPhoneMultiMediaAttributes

Obtém um valor que indica se o navegador dá suporte a atributos multimídia de J-Phone.Gets a value that indicates whether the browser supports J-Phone multimedia attributes.

SupportsJPhoneSymbols

Obtém um valor que indica se o navegador dá suporte a símbolos de imagem específicos do J-Phone.Gets a value that indicates whether the browser supports J-Phone-specific picture symbols.

SupportsQueryStringInFormAction

Obtém um valor que indica se o navegador dá suporte a uma cadeia de caracteres de consulta no valor de atributo action de elementos HTML form.Gets a value that indicates whether the browser supports a query string in the action attribute value of HTML form elements.

SupportsRedirectWithCookie

Obtém um valor que indica se o navegador dá suporte a cookies no redirecionamento.Gets a value that indicates whether the browser supports cookies on redirection.

SupportsSelectMultiple

Obtém um valor que indica se o navegador dá suporte ao atributo multiple de elementos HTML select.Gets a value that indicates whether the browser supports the multiple attribute of HTML select elements.

SupportsUncheck

Obtém um valor que indica se a ação de desmarcar um elemento HTML input type="checkbox" marcado é refletida nos dados de postback.Gets a value that indicates whether clearing a checked HTML input type="checkbox" element is reflected in postback data.

SupportsXmlHttp

Obtém um valor que indica se o navegador dá suporte a recebimento de XML por HTTP.Gets a value that indicates whether the browser supports receiving XML over HTTP.

Tables

Obtém um valor que indica se o navegador dá suporte a conteúdo de página depois dos elementos HTML table.Gets a value that indicates whether the browser supports HTML table elements.

TagWriter

Usada internamente para obter o tipo do objeto que é usado para gravar marcas para o navegador.Used internally to get the type of the object that is used to write tags for the browser.

Type

Obtém o nome e o número de versão principal (inteiro) do navegador.Gets the name and major (integer) version number of the browser.

UseOptimizedCacheKey

Usada internamente para obter um valor que indica se é necessário usar uma chave de cache otimizado.Used internally to get a value that indicates whether to use an optimized cache key.

VBScript

Obtém um valor que indica se o navegador dá suporte ao VBScript (Visual Basic Scripting Edition).Gets a value that indicates whether the browser supports Visual Basic Scripting edition (VBScript).

Version

Obtém o número de versão completo (inteiro e decimal) do navegador como uma cadeia de caracteres.Gets the full version number (integer and decimal) of the browser as a string.

W3CDomVersion

Obtém a versão do DOM (Modelo de Objeto do Documento) XML W3C (World Wide Web Consortium) à qual o navegador dá suporte.Gets the version of the World Wide Web Consortium (W3C) XML Document Object Model (DOM) that the browser supports.

Win16

Obtém um valor que indica se o cliente é um computador baseado em Win16.Gets a value that indicates whether the client is a Win16-based computer.

Win32

Obtém um valor que indica se o cliente é um computador baseado em Win32.Gets a value that indicates whether the client is a Win32-based computer.

Métodos

AddBrowser(String)

Usada internamente para adicionar uma entrada à coleção interna de navegadores para os quais as funcionalidades são reconhecidas.Used internally to add an entry to the internal collection of browsers for which capabilities are recognized.

CompareFilters(String, String)

Usada internamente para comparar filtros.Used internally to compare filters.

CreateHtmlTextWriter(TextWriter)

Cria uma nova instância do objeto HtmlTextWriter a ser usada para renderizar marcação para o navegador.Creates a new instance of the HtmlTextWriter object to use to render markup to the browser.

DisableOptimizedCacheKey()

Usada internamente para desabilitar o uso de uma chave de cache otimizado.Used internally to disable use of an optimized cache key.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
EvaluateFilter(String)

Usada internamente para avaliar um filtro.Used internally to evaluate a filter.

GetClrVersions()

Obtém todas as versões do .NET Framework CLR (Common Language Runtime) que estão instaladas no cliente.Gets all versions of the .NET Framework common language runtime (CLR) that are installed on the client.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
IsBrowser(String)

Obtém um valor que indica se o navegador do cliente é o mesmo que o navegador especificado.Gets a value that indicates whether the client browser is the same as the specified browser.

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a