posted on Friday, August 20, 2004 2:42 PM
by
thomasswilliams
Determining if you have Windows XP SP2
With Windows XP Service Pack 2 released, it would be handy to determine if you have it installed programatically (using C# or VB.NET). Saar Carmi points me in the right direction to KB 304721.
Related is KB 304283 which explains how to find out Windows versions in C# using the System.Environment.OSVersion structure (I don't know if it detects SP2, as I don't have SP2 yet...at least now I'm able to check!)