HttpCapabilitiesBase.GetConfigCapabilities(String, HttpRequest) Method
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.
Used internally to return an instance of HttpCapabilitiesBase representing the browser that generated the specified HttpRequest.
public:
static System::Web::Configuration::HttpCapabilitiesBase ^ GetConfigCapabilities(System::String ^ configKey, System::Web::HttpRequest ^ request);
public static System.Web.Configuration.HttpCapabilitiesBase GetConfigCapabilities (string configKey, System.Web.HttpRequest request);
static member GetConfigCapabilities : string * System.Web.HttpRequest -> System.Web.Configuration.HttpCapabilitiesBase
Public Shared Function GetConfigCapabilities (configKey As String, request As HttpRequest) As HttpCapabilitiesBase
Parameters
- configKey
- String
The name of the configuration section that configures browser capabilities.
- request
- HttpRequest
The HttpRequest generated by the browser for which to return capabilities and which is usually the current HttpRequest.
Returns
An instance of HttpCapabilitiesBase representing the browser that generated the specified HttpRequest.