Id say avoid using WMI, because if im not wrong, its only included in WinXp & above...
unless thats the targes OS you're aiming...

Use API's to get infos about the pc and the regedit has plenty of info for you to use...