DeviceStatus Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Allows an application to obtain information about the device on which it is running.

Inheritance Hierarchy


Namespace:  Microsoft.Phone.Info
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)


Public NotInheritable Class DeviceStatus
public static class DeviceStatus

The DeviceStatus type exposes the following members.


  Name Description
ApplicationCurrentMemoryUsage Returns the memory usage of the current application in bytes.
ApplicationMemoryUsageLimit Returns the maximum amount of memory that your application process can allocate in bytes.
ApplicationPeakMemoryUsage Returns the peak memory usage of the current application in bytes.
DeviceFirmwareVersion Returns the firmware version running on the device.
DeviceHardwareVersion Returns the hardware version running on the device.
DeviceManufacturer Returns the device manufacturer name.
DeviceName Returns the device name.
DeviceTotalMemory Returns the physical RAM size of the device in bytes.
IsKeyboardDeployed Indicates whether the user has deployed the physical hardware keyboard of the device.
IsKeyboardPresent Indicates whether the device contains a physical hardware keyboard.
PowerSource Indicates whether the device is currently running on battery power or is plugged in to an external power supply.



  Name Description
KeyboardDeployedChanged Occurs when the keyboard has been deployed or closed.
PowerSourceChanged Occurs when the power source of the device changes.


Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.Phone.Info Namespace

Other Resources

Device status for Windows Phone 8