Is it possible..


Is it possible to get the product ID of windows os so that my application shall not run on pirated copies of the windows os.Something like the windowsxpservice pack 2
Because i believe that a guy who is not paying for an os will also not pay for my application.
(which i guess will be registered online..but long way till thenBig Smile)
[416 byte] By [VijaySena] at [2008-2-23]
# 1
oops ...sorry i found out it in the forum already posted but i don't know if the reply was right
VijaySena at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 2
With the new MY namespace under Whidbey its real easy to extract these out of the registry

Heres the two examples
My
.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "ProductID", "")

My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion").GetValue("ProductID", "")

spotty at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...