Hi there I am writing a piece of code where I want to make sure that the code is onle executed on the machine in which OS is WindowsXPSP2 or greater. I have got OS version of the OS ex- 5.1,5.2 and so on.
I just want to know how can I make sure that the OS is either WindowsXPSP2 or greater? Can I check it with version number > 5.1?