如何以编程方式检测 Windows Phone 8.1 操作系统版本? [英] How to detect Windows Phone 8.1 OS version programmatically?

查看:46
本文介绍了如何以编程方式检测 Windows Phone 8.1 操作系统版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题中的问题不是真正的问题.我浏览了许多网站和博客,了解到 Environment.OSVersion 使用我们的应用程序为您提供手机的当前操作系统版本.但问题是,Environment 类下没有 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/en-US/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 操作系统版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆