检测操作系统版本 - 的Windows Phone 7或Windows Phone 8? [英] Detect OS version - Windows Phone 7 or Windows Phone 8?

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

问题描述

我对Windows Phone的7我在Windows 8桌面中创建的Visual Studio 2012的应用程序。我试图在Windows Phone 8的设备还使用应用程序所涉及的一些变化。我如何编程检测设备是否的Windows Phone 7或Windows Phone 8?

I have an application for Windows Phone 7. I have created visual studio 2012 in windows 8 desktop. I am trying to use the application in Windows Phone 8 device also with some changes involved. How can I programmatically detect whether the device is Windows Phone 7 or Windows Phone 8?

推荐答案

就像你在任何其他平台用C#: Environment.OSVersion

Just as you would on any other platform with C#: Environment.OSVersion

这篇关于检测操作系统版本 - 的Windows Phone 7或Windows Phone 8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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