C# Class FiftyOne.Foundation.Mobile.Detection.MobileCapabilitiesProvider

Used to add additional WURFL based properties to the browser capabilities.
Inheritance: System.Web.Configuration.HttpCapabilitiesDefaultProvider
Show file Open project: 51Degrees/dotNET-Device-Detection

Public Methods

Method Description
GetBrowserCapabilities ( HttpRequest request ) : System.Web.HttpBrowserCapabilities

Provides information to the web server about the requesting device.

MobileCapabilitiesProvider ( ) : System

Constructs an instance of . All default values remain the same and are unaltered.

MobileCapabilitiesProvider ( System.Web.Configuration.HttpCapabilitiesDefaultProvider parent ) : System

Constructs an instance of . All default values remain the same and are unaltered.

Private Methods

Method Description
LogStackTrace ( ) : void

If in debug compilation record the stack trace as this class is constructed before the debugger can become active.

Method Details

GetBrowserCapabilities() public method

Provides information to the web server about the requesting device.
public GetBrowserCapabilities ( HttpRequest request ) : System.Web.HttpBrowserCapabilities
request System.Web.HttpRequest /// HttpRequest that provides information about the source device. ///
return System.Web.HttpBrowserCapabilities

MobileCapabilitiesProvider() public method

Constructs an instance of . All default values remain the same and are unaltered.
public MobileCapabilitiesProvider ( ) : System
return System

MobileCapabilitiesProvider() public method

Constructs an instance of . All default values remain the same and are unaltered.
public MobileCapabilitiesProvider ( System.Web.Configuration.HttpCapabilitiesDefaultProvider parent ) : System
parent System.Web.Configuration.HttpCapabilitiesDefaultProvider
return System