DeviceExtendedProperties Class
July 26, 2012
Allows an application to obtain information about the device on which it is running.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The DeviceExtendedProperties type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | GetValue | Retrieves an object representing the specified device property. |
![]() ![]() | TryGetValue | Retrieves an object representing the specified device property. |
Caution: |
|---|
In Windows Phone OS 7.0, this class was used to query device-specific properties. In Windows Phone OS 7.1, most of the properties in DeviceExtendedProperties were deprecated, and the new DeviceStatus class should be used instead. However, where appropriate, you can still use any of the below properties that are not deprecated. |
The following table lists the available properties that can be queried using this method.
Property name | Value type | Description |
|---|---|---|
DeviceManufacturer | A string. 256 characters maximum. | The name of the manufacturer of the device. There is no standard format for this string. We recommend that the same value be used by every device from a manufacturer, but this is not enforced. This value may be empty. This property is deprecated. Use the DeviceManufacturer property instead. |
DeviceName | A string. 256 characters maximum. | The name of the device. There is no standard format for this string. This value may be empty. This property is deprecated. Use the DeviceName property instead. |
DeviceUniqueId | A byte array. 20 bytes in length. | A unique hash for the device. This value will be constant across all applications and will not change if the phone is updated with a new version of the operating system. Applications should not use this to identify users because the device ID will remain unchanged even if ownership of the device is transferred. |
DeviceFirmwareVersion | A string. | The firmware version running on the device. This is not the same as the OS version, which can be retrieved using System.Environment. We recommend that the value be a string that can be parsed as a System.Version structure and that it be incremented in a logical manner as newer firmware is installed, but this is not required. This value may be empty. This property is deprecated. Use the DeviceFirmwareVersion property instead. |
DeviceHardwareVersion | A string. | The hardware version running of the device. This is not the same as the OS version, which can be retrieved using System.Environment. We recommend that the value be a string that can be parsed as a System.Version structure and that it be incremented in a logical manner as newer hardware is released, but this is not required. This value may be empty. This property is deprecated. Use the DeviceHardwareVersion property instead. |
DeviceTotalMemory | A long integer. | The physical RAM size of the device in bytes. This value will be less than the actual amount of device memory, but can be used for determining memory consumption requirements. This property is deprecated. Use the DeviceTotalMemory property instead. |
ApplicationCurrentMemoryUsage | A long integer. | The current application’s memory usage in bytes. This property is deprecated. Use the ApplicationCurrentMemoryUsage property instead. |
ApplicationPeakMemoryUsage | A long integer. | The current application's peak memory usage in bytes. This property is deprecated. Use the ApplicationPeakMemoryUsage property instead. |
ApplicationWorkingSetLimit | A long integer. | The current application's memory working set limit in bytes. Note: You can use this property to determine if your application is running on a 256-MB device. For more information, see How to: Disable Features of an Application for a 256-MB Device and Developing for 256-MB Devices. |

You can use this property to determine if your application is running on a 256-MB device. For more information, see