I am trying to play with the Environment.OSVersion.Version object and can\'t really tell what version would indicate that the OS is Windows XP or higher (e.g. I
Environment.OSVersion.Version
Check the Major property is greater than or equal to 5, and if 5 then Minor is at least 1. (XP was 5.1, 2003 was 5.2, Vista/2008 were 6.0).
Major
Minor
List of Windows Version Numbers on MSDN.