i want to write a program to read the product id of the operating system i work on it. It could be vista or xp. However i do not know what instruction i use. i use c# or visual c++ in vstudio 2005. any help will be appreciated. thanks