我有一些情景需要知道操作系统的主/次版本和构建号等信息。 从Windows 8.1开始,GetVersion和GetVersionEx已被弃用,声明如下: [GetVersion/GetVersionEx 可能在Windows 8.1之后的版本中被更改或不可用。请使用Version Hel...