HttpCapabilitiesBase::IsMobileDevice Property

 

Gets a value indicating whether the browser is a recognized mobile device.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
property bool IsMobileDevice {
	virtual bool get();
}

Property Value

Type: System::Boolean

true if the browser is a recognized mobile device; otherwise, false. The default is true.

The following code example shows how to determine whether the browser is a mobile device.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: