Make Licence Keys
I have written an application but i dont know the best way to write a licence key for it.
I have extracted nic adress, machine id and some other information but what do i do with it?
What are you asking.
Are you asking how to make Licence keys.?
or are you askig how to use licence keys you have made?
The best way i belive is if you have a program that not going to be mass shiped out.
I would make specal keys For every program and eather hard code it in to each program so only that one Key works on that one program. Or you can have a list of Keys on the internet in a file. and you can have the program look at that file and see if the key the user putin is one that is on the file online.
Try this License Key Generator. With this program and library you can create the key and later read it in to validate that the correct key was used.:
Well I should you to use SerialShield SDK, it's great and easy.
More details here : SerialShield SDK - Software Copy Protection / License Control for .NET and Win32
Re: Make Licence Keys
The best way is to sign your "machine code" ( the NIC, etc) using an algorithm like RSA and then verify the signnature in your app. Give CryptoLicensing a go which implements this (among other scenarios like trials, domain-locking, floating, etc) and is quite easy to use.
i prefer serial shield SDK