Modified code to use appropriate WMI class based on the Windows version.
Modified code to use appropriate WMI class based on the Windows version.

higanworks/ohai,jaymzh/ohai,chef/ohai,n-marton/ohai,Fodoj/ohai,jaymzh/ohai,numericillustration/ohai,Fodoj/ohai,jseely/ohai,mattray/ohai,n-marton/ohai,jseely/ohai,numericillustration/ohai,mattray/ohai,chef/ohai,higanworks/ohai