|
> Example Licenses And Applications > Pay-Per-Use SN (Serial Number) Example License And Application Pay-Per-Use SN (Serial Number) Example License And ApplicationYou can find this example program and license inside the folder \SoftwareShield\Pre-Compiled Examples\PayPerUseSN. Note that the license project file ("CheckPT_PayPerUseExample.lpj") is provided for your reference but you should never distribute license project files (.lpj) with your actual applications. The example license is configured to allow the software to run, but a locked function to not operate until you enter a valid Activation Code (indicating that you have "purchased" some number of uses of the locked function in the software). The example license tracks how many times the function has been used and will not permit unpaid uses of the function to operate. You can continually add uses to the program while ensuring the user does not attempt to add unauthorized uses by entering a valid Activation Code more than once. Below are instructions on how to test the example program and add pay-per-use "credits". Note that if you have not yet purchased the SoftwareShield System, while you are testing the example, the "Demo Version" dialog may appear to remind you that the version of SoftwareShield you are using is a demo version. Simply dismiss this dialog and continue with the steps as noted. If you have already purchased the SoftwareShield System, but the "Demo Version" dialog continues to appear - be sure you have read and followed the instructions in the section: Unlocking The Demo Version Of SoftwareShield. Note that you may wish to refer to the section How To Implement Pay Per Use for more detailed information. To Test The ApplicationSimply run the application and follow the instructions. We have provided a sample Serial Number right inside the application to simulate a purchase of uses of the product. The program will attempt to contact our live Test CheckPoint License Server to perform a Serial Number Code Exchange.
|