The Microsoft.Phone.Info.DeviceStatus
class is a static class used to retrieve information about the phone device, such as the device manufacturer, firmware version, and total memory available to your app.
Table 2.3 describes each property of the DeviceStatus
class.
In the first release of the Windows Phone OS, the DeviceExtendedProperties
class was used to retrieve many of the DeviceStatus
property values. DeviceExtendedProperties
has since been deprecated, and DeviceStatus
takes its place for retrieving most device information.
The downloadable sample code contains a DeviceStatusView.xaml page, which displays each of the DeviceStatus
properties. The memory related values have been converted from byte values to megabytes to make them more easily comprehendible (see Figure 2.8).
3.133.146.47