Доброго времени суток. У меня есть задача - идентифицировать операционную системы машины с помощью WMI. Использую класс Win32_OperatingSystem. Сначала думал использовать поле Caption, но его содержимое может быть локализовано, поэтому положиться на него я не могу. Затем подумал по полю Version, но версия ядра может быть одинаковой у некоторых ОС, например Windows Server 2003 и Windows XP Professional x64 Edition имеют версию 5.2.3790.3959, если я не ошибаюсь. Как лучше однозначно идентифицировать? Необходимо определять следующие системы
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Windows XP 64-Bit Edition
Windows Server 2003 Standard Edition (32-bit x86)
Windows Server 2003 Enterprise Edition (32-bit x86)
Windows Server 2003 Datacenter Edition (32-bit x86)
Windows Server 2003 x64 Standard Edition
Windows Server 2003 Enterprise x64 Edition
Windows Server 2003 Datacenter x64 Edition
Windows Server 2003 Web Edition
Windows Small Business Server 2003
Windows Vista
64-bit edition of Windows Vista
Windows Server 2008 Standard 32-Bit
Windows Server 2008 Enterprise 32-Bit
Windows Server 2008 Datacenter 32-Bit
64-bit edition of Windows Server 2008 Standard
64-bit edition of Windows Server 2008 Enterprise
64-bit edition of Windows Server 2008 Datacenter
Windows Web Server 2008
Windows 7
64-bit edition of Windows 7
64-bit edition of Windows Server 2008 R2 Standard
64-bit edition of Windows Server 2008 R2 Enterprise
64-bit edition of Windows Server 2008 R2 Datacenter
Windows Web Server 2008 R2