Question

How to obtain Vista Edition programmatically, that is Home Basic, Home Premium, Business or Ultimate ?

Was it helpful?

Solution

MSDN gives extensive answer:

Getting the System Version

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
scroll top