本文介绍了获取的Windows Phone版本和设备名称中的Windows Phone 8.1 XAML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 在的Windows Phone 8的Silverlight我用In Windows Phone 8 Silverlight I use Environment.OSVersion.ToString()要获得Windows Phone版以及to get Windows Phone version andDeviceStatus.DeviceManufacturer+" "+DeviceStatus.DeviceName获取设备的名称。to get device name.这些API不再随着Windows Phone 8.1 XAML工作。我发现These APIs no longer work with Windows Phone 8.1 XAML. I have foundWindows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation()这似乎退回制造商和设备名称,但OS返回为只是Windows手机。this seems to return the manufacturer and device name but OS is returned as just "Windows Phone".有没有办法得到确切的Windows phone版本?Is there a way to get the exact Windows phone version?推荐答案这是目前尚未在Windows运行时8.1(手机和Windows)成为可能。它看起来像它可能被计划由于莫滕尼尔森和皮特·布朗This is currently not possible In Windows Runtime 8.1 (Phone and Windows). It does look like it might be planned thanks to Morten Nielsen and Pete Brown 修改:这是现在可以在Windows 10,请参见这个SO回答以及这篇文章更实用的功能。EDIT: This is now possible in Windows 10. See this SO answer as well as this article for more useful features. 这篇关于获取的Windows Phone版本和设备名称中的Windows Phone 8.1 XAML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-23 19:04