Reputation: 4728
I need to distinguish Windows 7 and Windows 2008 R2 but I don't know how to. The OS Version property return the same number "6.1.7600.0"
Regards,
Florian
Upvotes: 8
Views: 3997
Reputation: 9936
Use GetProductInfo, Windows 7 and Windows Server 2008 R2 have different Product Type numbers.
Upvotes: 11
Reputation: 29668
You might find this useful:
http://www.codeproject.com/KB/system/osversion.aspx
OSProductType on that should be Server
Upvotes: 1