DeviceStatus Class

May 11, 2014

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

System.Object
  Microsoft.Phone.Info.DeviceStatus

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

public static class DeviceStatus

The DeviceStatus type exposes the following members.

  NameDescription
Public propertyStatic memberApplicationCurrentMemoryUsageReturns the memory usage of the current application in bytes.
Public propertyStatic memberApplicationMemoryUsageLimitReturns the maximum amount of memory that your application process can allocate in bytes.
Public propertyStatic memberApplicationPeakMemoryUsageReturns the peak memory usage of the current application in bytes.
Public propertyStatic memberDeviceFirmwareVersionReturns the firmware version running on the device.
Public propertyStatic memberDeviceHardwareVersionReturns the hardware version running on the device.
Public propertyStatic memberDeviceManufacturerReturns the device manufacturer name.
Public propertyStatic memberDeviceNameReturns the device name.
Public propertyStatic memberDeviceTotalMemoryReturns the physical RAM size of the device in bytes.
Public propertyStatic memberIsKeyboardDeployedIndicates whether the user has deployed the physical hardware keyboard of the device.
Public propertyStatic memberIsKeyboardPresentIndicates whether the device contains a physical hardware keyboard.
Public propertyStatic memberPowerSourceIndicates whether the device is currently running on battery power or is plugged in to an external power supply.
Top

  NameDescription
Public eventStatic memberKeyboardDeployedChangedOccurs when the keyboard has been deployed or closed.
Public eventStatic memberPowerSourceChangedOccurs when the power source of the device changes.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

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

Show:
© 2014 Microsoft