MobilePage.Device Property


Gets the MobileCapabilities object for the current requesting device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public virtual MobileCapabilities Device { get; }

Property Value

Type: System.Web.Mobile.MobileCapabilities

The MobileCapabilities for the current requesting device.

This property is provided for convenience, and is equivalent to obtaining browser information from the HttpRequest object, such as Page.Request.Browser.

.NET Framework
Available since 1.1
Return to top