03-20-2012 02:03 AM
Hi
What i would like to do is get a unique ID from the users Motherboard and the Harddrive Serial that the user has install my program on.
I would then like to encrypt these ID along with the current user name. This must be sent to me via Email.
I would then decrypt this information and send a unique code linked to the IDs which the user would then insert into my program which would then activate my program.
Does anyone know how to do this?
Or some equivalent to this?
03-20-2012 07:22 AM
Not a simple task you've found!
In this post from Al you have a sample project that retrieves informations on the volume serial number. The same thread gives informations on how to get the NIC Mac address, which may be useful as well in this matter.
Regarding encryption, you should see in the WinSDK how to connect to the encryption service installed in the system. I never tried to do this, I managed to integrate the hashing functions in CVI, which are not the same and cannot be of help for you I'm afraid. Nevetheless, you can find my work here in case you think it can be of some help.