How to get CPU Serial No. or other unique machine ID's
I want to 'brand' the data created in my VB6.0 app so that I can recognize data that has been created on another machine. I am crrently using
Public Declare Function apiGetUserName Lib "advapi32.dll" Alias _
"GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
to get the username and using that to 'brand' the data. This is working but it is possible that two machines or users coudl return the same value.
Is it possible from within VB6.0 to retrieve the CPU serial number or some other value that would be unique to a machine? It owuld have ot be some value that would be on one and only one machine. I could use this for my branding
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.