如何在Windows 10中获取Windows Nt版本。 [英] How Do I Get Windows Nt Version In Windows 10.

查看:183
本文介绍了如何在Windows 10中获取Windows Nt版本。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前我正在使用Environment.OSVersion属性(系统)来获取osversion。

但是当它用于Windows 10时,它提供了Windows NT版本的Windows 8,这是6.2 *

但是我想要10.0 *。



那我该怎么办?

解决方案

参见< a href =https://msdn.microsoft.com/library/windows/desktop/ms724832.aspx> https://msdn.microsoft.com/library/windows/desktop/ms724832.aspx [< a href =https://msdn.microsoft.com/library/windows/desktop/ms724832.aspxtarget =_ blanktitle =New Window> ^ ]。如果返回的值不正确,那么你应该向微软投诉。


在这里你可以找到答案: -



https: //msdn.microsoft.com/en-US/library/windows/desktop/dn481241.aspx

Current I am using Environment.OSVersion Property (System) to get the osversion.
But when its used for windows 10 it gives windows NT version windows 8 which is 6.2*
But I want 10.0*.

So how i should go ?

解决方案

See https://msdn.microsoft.com/library/windows/desktop/ms724832.aspx[^]. If the returned value is incorrect then you should complain to Microsoft.


Here you can find the answer :-

https://msdn.microsoft.com/en-US/library/windows/desktop/dn481241.aspx


这篇关于如何在Windows 10中获取Windows Nt版本。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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