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

[{'answer_id': 56199, 'author': 'aku', 'author_id': 1196, 'author_profile': 'https://Stackoverflow.com/users/1196', 'pm_score': 4, 'selected': True, 'text': '<p>MSDN gives extensive answer:</p>\n\n<p><a href="http://msdn.microsoft.com/en-us/library/ms724429%28VS.85%29.aspx" rel="nofollow noreferrer">Getting the System Version</a></p>\n'}, {'answer_id': 56251, 'author': 'Ed Guiness', 'author_id': 4200, 'author_profile': 'https://Stackoverflow.com/users/4200', 'pm_score': 1, 'selected': False, 'text': '<pre><code>[Environment.OSVersion][1]\n</code></pre>\n'}, {'answer_id': 93295, 'author': 'Bart Read', 'author_id': 17786, 'author_profile': 'https://Stackoverflow.com/users/17786', 'pm_score': 0, 'selected': False, 'text': "<p>Brilliant! This is just what I need as well. Thanks aku.</p>\n\n<p>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.</p>\n"}]
['https://Stackoverflow.com/questions/56195', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5383/']