|
-
October 26th, 2010, 04:30 PM
#1
How to programmatically conclude whether the OS is Windows XP
Hi,
I'm looking for a C# code snippet which concludes whether the OS is Windows XP, which is bullet proof and not risky (i.e., no strings manipulation on the name of the OS, since maybe there are Windows XP Editions which don't contain the exact word "Windows XP", and I wouldn't go for "string.Contains("XP")" either) ?
[If you have the same code snippet for Vista and Windows 7, it will be great]
Thanks at Advanced!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|