Windows phone 7 Windows Phone:确定设备(品牌、型号等)
有没有办法确定Windows Phone中的设备详细信息 我使用的是DeviceStatus类,但它给出了一个神秘的设备名称和版本Windows phone 7 Windows Phone:确定设备(品牌、型号等),windows-phone-7,windows-phone-8,windows-phone,Windows Phone 7,Windows Phone 8,Windows Phone,有没有办法确定Windows Phone中的设备详细信息 我使用的是DeviceStatus类,但它给出了一个神秘的设备名称和版本 DeviceStatus.DeviceManufacturer: "NOKIA" DeviceStatus.DeviceName: "RM-821_eu_denmark_251" Environment.OSVersion: "Microsoft Windows NT 8.0.10211.0" 是否有更好的方法以用户友好的方式获取设备详细信息 我需要的是: 非常
DeviceStatus.DeviceManufacturer: "NOKIA"
DeviceStatus.DeviceName: "RM-821_eu_denmark_251"
Environment.OSVersion: "Microsoft Windows NT 8.0.10211.0"
是否有更好的方法以用户友好的方式获取设备详细信息
我需要的是:
非常感谢您提供的任何帮助。目前没有官方的方法,但已经创建了一个开源(MIT许可)解决方案来解析设备名称。
在找到它 它不适用于操作系统版本,但由于操作系统版本较少,您可以自己执行此操作。
所有发布版本均由Microsoft发布,网址为:
非常有用的链接:
谢谢这就是我要找的。嗨,除了这个,还有一个小问题,客户是否可以更改设备名称?谢谢你的解决方案!
DeviceStatus.DeviceManufacturer: "NOKIA"
DeviceStatus.DeviceName: "Nokia 920"
Environment.OSVersion: "Microsoft Windows Phone 8"
object manufacturerObject;
Microsoft.Phone.Info.DeviceExtendedProperties.TryGetValue("DeviceManufacturer", out manufacturerObject);
System.Diagnostics.Debug.WriteLine("DEvice Model NO. {0}", manufacturerObject.ToString());