我需要在我的程序中检测
Windows 2012上的版本.
在以前的操作系统中,我使用了GetProductInfo的pdwReturnedProductType,但根据msdn:
在以前的操作系统中,我使用了GetProductInfo的pdwReturnedProductType,但根据msdn:
PRODUCT_*_SERVER_CORE values are not returned in Windows Server 2012. For example,the base server
edition,Server Datacenter,is used to build the two different installation options: “full server”
and “core server”. With Windows Server 2012,GetProductInfo will return PRODUCT_DATACENTER
regardless of the option used during product installation.
有没有其他可能检测核心版本?
谢谢.