This system will be a custom library that can be included into a pocket pc program and turn the product into a demo with the ability to enter a registration code to fully activate it. This system will work in conjunction with PHP Audit ([url removed, login to view]). Please see [url removed, login to view] as an example of what I am looking for.
PHP Audit is a licensing and ordering system. That is, it allows customers to buy a product online, and then it issues them a license. PHP Audit system is very well done and includes an API with the ability to create your own API. Please see [url removed, login to view];page=XML-RPC%20API . It is created to license php applications, but I believe we can use it to create a licensing system for Pocket Pc apps as well.
What I would like to create is a custom library, that when added to a programs source code, turns it into a demo, either x amount of days, or x amount of minutes each use. The user can then enter the registration key and have it unlocked. The library will query a specific PHP Audit database using the API to verify that the license is correct and then take away the demo limitations.
Please see attached file for complete description.