简体   繁体   中英

How can I determine whether my installer is running on the Education edition of Windows 10?

When I run winver on Windows 10 Education the popup says it is the Education edition, so there must be some way to determine this programatically. I've searched on the internet and cannot find any guidance as to how to do this. Does anyone here know?

在这种情况下, GetProductInfo将返回PRODUCT_EDUCATION

Querying WMI Data seems to work. See Example: Getting WMI Data from the Local Computer for details

Also, see HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM