determining windows version by Code by WMI....

The code there looks like it can determine pretty much every version. As for whether the OS is pro, adv server, server, etc. if you need to know this you must have machines that run those OSes. Whip up a quick sample to display the OS info when it runs on those machines and see if there's any difference between say XP Pro and XP Home or any of the Server editions.
 
Back
Top