简体   繁体   English

Windows 10 的注册表版本值?

[英]Registry edition values of Windows 10?

I want to obtain Windows 10 OS edition from registry.我想从注册表中获取 Windows 10 操作系统版本。 I'm reading below registry key in C# code to get the edition of Windows 10/11 OS:我正在阅读以下 C# 代码中的注册表项以获取 Windows 10/11 操作系统的版本:

SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID

Here is the C# code:这是 C# 代码:

using (var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion"))
{
     if (key != null)
     {
         var keyValue = key.GetValue("EditionID");
         var osEdition = keyValue.ToString();
     }
}

I need to know the strings that'll be present in this EditionID key for various flavors of Windows 10 editions.我需要知道将出现在此EditionID密钥中的字符串,适用于各种版本的 Windows 10 版本。 I couldn't get any relevant Microsoft documentation around it.我无法获得任何相关的 Microsoft 文档。 Major Windows 10 editions are as below: Windows 10 的主要版本如下:

  1. Windows 10 Pro视窗 10 专业版
  2. Windows 10 Pro for Workstations适用于工作站的 Windows 10 专业版
  3. Windows 10 Education Windows 10 教育版
  4. Windows 10 Pro Education Windows 10 专业教育版
  5. Windows 10 Enterprise Windows 10 企业版
  6. Windows 10 Enterprise 2019 LTS/LTSC/LTSB Windows 10 企业版 2019 LTS/LTSC/LTSB
  7. Windows 10 Home Windows 10 家庭版

I've an Enterprise edition Windows 10 OS on my PC.我的 PC 上装有Enterprise版 Windows 10 操作系统。 So I know that for Enterprise edition this registry values comes as Enterprise .所以我知道对于Enterprise版,这个注册表值是Enterprise I need to know the rest.我需要知道其余的。

I've been able to obtain some of them.我已经能够获得其中一些。 Please feel free to edit this post if you find anyone installed in your office, school or home.如果您发现有人安装在您的办公室、学校或家中,请随时编辑此帖子。

  • Windows 10 Pro - "Professional" Windows 10 专业版 - “专业版”
  • Windows 10 Pro for Workstations - ??适用于工作站的 Windows 10 专业版 - ??
  • Windows 10 Education - "Education" Windows 10 教育版 - “教育版”
  • Windows 10 Pro Education - ?? Windows 10 专业教育版 - ??
  • Windows 10 Enterprise - "Enterprise" Windows 10 企业版 - “企业版”
  • Windows 10 Enterprise 2019 LTS/LTSC/LTSB - ?? Windows 10 企业版 2019 LTS/LTSC/LTSB - ??
  • Windows 10 Home - ?? Windows 10 家庭版 - ??

已确认适用于工作站的 Windows 10 专业版 - “ProfessionalWorkstation”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows 10 注册表作为数据库 - Windows 10 Registry as a Database Windows 10是否具有用于LowLevelHooksTimeout的注册表项 - Does Windows 10 have a registry entry for LowLevelHooksTimeout Windows安装程序:动态注册表项/值 - Windows Setup: Dynamic Registry Keys/Values 如何从注册表中获取Windows XP / 2003信息(版本,SP编号等)? - How to get Windows XP/2003 information(Edition, SP number, etc.) from the registry? 如何使用注册表或命令永久更改 Windows 10 显示设置? - How to permanently change Windows 10 display setting using Registry or Commands? Windows 10的C#访问远程注册表不起作用 - C# Access Remote Registry with Windows 10 not work IIS Signalr集线器连接在Windows 10家庭版上与多个客户端一起挂起 - IIS Signalr Hub Connection hang with more then one client on Windows 10 Home Edition 如何确定我的安装程序是否在 Windows 10 教育版上运行? - How can I determine whether my installer is running on the Education edition of Windows 10? 获取Windows Edition - Get Windows Edition 获取在MS-Edge浏览器中打开的页面的URL在Windows 10家庭版中不起作用(从Windows 8.1升级) - Get URLs of pages opened in MS-Edge Browser is not working in Windows 10 Home Edition(Upgraded from Windows 8.1)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM