Creating registry key when register a prog [SOLVED]
I would like to force users to register first the prog before using it.
First, I would like to take the MacAdress of the network card.
2nd convert it to a number.
3rd user register itself with this number and a new one is generated with an algorythm
4th the user enter this new one into the popup dialog and a key is vreated in the registry.
Next time the prog is executed, it will check first if the key exist in the registry compare it to the MacAdress and run the prog if succesfull.
How can I create a registry key at PC level (not user) ?
How can I read it after ?
How can I read the MacAdress of the network Card ?
How can I convert the MacAdress to a number (example : 00-50-8D-5C-85-96)
Thanks for all your support during 1 month :D ;) :p
The prog is a network application, so each PC has a network card !:D