How to obtain Vista Edition programmatically?
-
09-06-2019 - |
Question
How to obtain Vista Edition programmatically, that is Home Basic, Home Premium, Business or Ultimate ?
Solution
MSDN gives extensive answer:
OTHER TIPS
[Environment.OSVersion][1]
Brilliant! This is just what I need as well. Thanks aku.
edg: Environment.OSVersion contains a version string but this doesn't generally give enough information to differentiate editions (also applies to XP Home/XP Pro). Also, there's the risk that this string will be localised so matching on it woudn't necessarily work.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow