如何以编程方式检测Windows Phone 8.1 OS版本? [英] How to detect Windows Phone 8.1 OS version programmatically?
问题描述
标题中的问题不是真正的问题。我浏览了许多站点和博客,并了解到Environment.OSVersion使用我们的应用程序为您提供了手机的当前操作系统版本。但是问题是,在环境类下没有OSVersion。请参考屏幕截图以更好地理解。
The question in title is not the real problem. I went through many sites and blogs and go to know that Environment.OSVersion gives you the current OS version of the phone using our app. But the problem is, There is no OSVersion under the class Environment. Please refer the screenshot for better understanding.
我的问题为什么我不能在Environment类下看到OSVersion属性?我错过了什么吗?
My question why I am not able to see the OSVersion property under Environment class? Am I missing something?
推荐答案
您无法在Windows 8.1中获得操作系统版本。请检查以下链接是否相同- https://social.msdn.microsoft.com / Forums / windowsapps / zh-CN / 2b455331-3bad-4d26-b615-a59d0e05d0dd / how-to-get-os-version-on-window-phone?forum = wpdevelop
You cannot get the OS Version in Windows 8.1 .Check the following link for the same - https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2b455331-3bad-4d26-b615-a59d0e05d0dd/how-to-get-os-version-on-window-phone?forum=wpdevelop
这篇关于如何以编程方式检测Windows Phone 8.1 OS版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!