Pro Windows Phone App Development by Falafel Software

Pro Windows Phone App Development by Falafel Software

Author:Falafel Software [Software, Falafel]
Language: eng
Format: epub
Tags: Computers, Programming Languages, Programming, C#, Microsoft
ISBN: 9781430247821
Publisher: Apress
Published: 2013-08-21T04:00:00+00:00


namespace DeviceSupport.ViewModels

{

public class DeviceInformationViewModel : Dictionary<string, object>

{

public DeviceInformationViewModel()

{

var id = (byte[])DeviceExtendedProperties.GetValue("DeviceUniqueId");

var deviceId = System.Convert.ToBase64String(id);

Add("Device Type", Microsoft.Devices.Environment.DeviceType.ToString().ToLower());

Add("Name", DeviceStatus.DeviceName);

Add("Manufacturer", DeviceStatus.DeviceManufacturer);

Add("Unique ID", deviceId);

Add("Memory Used", DeviceStatus.ApplicationCurrentMemoryUsage);

Add("Firmware Ver", DeviceStatus.DeviceFirmwareVersion);

Add("Hardware Ver", DeviceStatus.DeviceHardwareVersion);

Add("Power Source", DeviceStatus.PowerSource.ToString());



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.