Serial Key

Riktap7

New member
Joined
Dec 14, 2006
Messages
1
Programming Experience
1-3
Hi

I m working on vb.net 2.0.i need to generat CID key for security purpose of a software.I m trying to fetch serial number of the system for that.In Windows 2000 Adavanced Server i m getting problem to get the machine serial number.on some system i m not able to get serial key.

So...plz give me a proper solution for that.
Thanks.
 
I'm not sure what serial number you want, but here's how you can get the Product ID (just as unique as the 2000/XP serial #, by the way):
VB.NET:
Dim ProductID As String = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ProductId", "")
 
Back
Top