We? will sell a software that can be downloaded but in order to start use you must unlock it.? Also upgrades may be needed to unlock.
I would like a piece of code in ANSI-C that provides a? code based on the MAC address of the host? where the software will be run.
I also want a another? piece of software in java that can? produce unlock keys based? the? code? provide by the ANSI-C? software.
There should be another piece of code in the ANSI-C software that can qualify this unlock key and then returns a return code? depending on if the unlock code was correct or not.?
This is not a critical? piece of software so? there is no need for any high security level.
1. ANCI-C code that provides an host specific code based on MAC Address. The MAC address will be given so the coder does not have to know any host specific details how to retrieve the MAC address.
2. A piece of Java code that use the code produced in 1. and then produce an Unlock Key.
3.? ANCI-C code that checks this unlock key against the MAC address.
Since we will have a number of? upgrades as well I would like the coder to regard that we may need this mechanism to produce several unlock keys.
Return code =? -1 (not granted)
Return code =? 0 (granted basic level)
Return code =? 1 (granted upgrade 1 level)
Return code =? 2 (granted? upgrade? 2 level)
Return code =? 3 (granted? upgrade? 3 level)