The Environment.OSVersion
property can be used to get the version of the current OS. What value can its Version
property have for the various OSes out there?
I'm in开发者_如何学Goterested only in the Major
and Minor
values and primarily about desktops OSes.
Have a look at MSDN: Operating System Version
Here we go http://www.codeguru.com/cpp/w-p/system/systeminformation/article.php/c8973/
精彩评论