什么是GUID的Windows 10的supportedOS? [英] What's the supportedOS GUID for Windows 10?
问题描述
我们正在检测操作系统版本进行统计。与Windows 8.1,<起始href="http://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx#base.version_helper_apis">the在使用的getVersion
OS就在于它的版本。然而, System.Environment.OSVersion
仍称该API 作为.NET 4.5.1。因此,我们增加<一个href="http://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx#base.version_helper_apis">8.1's GUID 以清单,它的伟大工程。
现在,我想prepare同样适用于Windows 10是的GUID这个已知的吗?
(编辑)P /调用VerSetConditionMask和VerifyVersionInfo检查6.4或更高版本确实出现了工作。
&LT;! - 这个ID值指示应用程序支持Windows门槛功能 - &GT;
&LT; supportedOS n ={8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}/&GT;
来源:<一href="http://social.msdn.microsoft.com/Forums/azure/en-US/07cbfc3a-bced-45b7-80d2-a9d32a7c95d4/supportedos-manifest-for-windows-10?forum=windowsgeneraldevelopmentissues">http://social.msdn.microsoft.com/Forums/azure/en-US/07cbfc3a-bced-45b7-80d2-a9d32a7c95d4/supportedos-manifest-for-windows-10?forum=windowsgeneraldevelopmentissues
We're detecting the OS version for statistics. Starting with Windows 8.1, the OS "lies" about its version when using GetVersion
. However, System.Environment.OSVersion
still calls this API as of .NET 4.5.1. As such, we've added 8.1's GUID to the manifest, which works great.
Now, I'd like to prepare the same for Windows 10. Is the GUID for this known yet?
(edit) P/Invoking VerSetConditionMask and VerifyVersionInfo to check for 6.4 or greater does appear to work.
<!-- This Id value indicates the application supports Windows Threshold functionality-->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
这篇关于什么是GUID的Windows 10的supportedOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!