Dynamic Registration Library is a .NET Compact Framework 2.0 library that allows developers to issue and verify registration codes to unlock the full functionality of shareware applications using RPN (Reverse Polish Notation). It supports the Dynamic Registration of Handango, PocketGear, and others. It also provides access to the C/DUI (Customer/Device Unique Identifier) information about the Owner of the PocketPC/WM device.
It is very simple to use. Just declare the ddrLib object passing either the RPN-string alone or the RPN-string and the Device Identifier String.
C# Example Code:
================
//Create a new ddrLib Object using the Reverse Polish Notation String
DDRLib ddrLib = new DDRLib( "i 0 == 111 * key + c 2 * +" );
//Obtain the resulting Dynamic Registration Code
string code = ddrLib.RegistrationCode; //e.g.: '00124'
The following static function gets the user's Owner Name from the Registry should you need it:
string cDUI = DDRLib.GetCDUI(); //e.g.: cDUI = 'John Doe'
================
When you add your product to the HANDANGO SITE specify 'PocketPC Dynamic' as your 'Registration Mode' and you will be prompted for your RPN String.
As long as the code you enter on the HANDANGO (or other) site is the same as your 'sRPN' then the user will get a matching Registration Code when they purchase your software. They simply enter the Registration Code into your application and you compare for a match to unlock your software.
Our (and HANDANGO's) RPN strings support the following operators:
- + * / % << >> ~ & | && || ! == >= > <= < != ^
You may compare the code results of our Dynamic Registration Library (http://www.twoopy.com/Mobile/DynamicRegistrationLibrary.aspx) with that of Handango's Dynamic Registration Code Tester (https://developer.handango.com/RegCode.jsp?siteId=1).
please read the rules for RPN strings at (https://developer.handango.com/RegCode.jsp?siteId=1).
Here are some Sample RPN strings
- i 0 == 111 * key + c 2 * +
- i 3 > 111 * key + c 2 * +
- i 3 >> 111 / key + c 2 * +
- i 3 >> 111 / key + c 200 * +
- i 0 >> 111 - key * c 200 * +
- i 2 < 111 - key * c 8881 * +
- i 2 == 111 - key * c c * +
- i 2 == 1441 - key ^ key c * +
Have fun with your own RPN strings!!!
- New!! Shareware Lock works with our Shareware Lock Library found at Handango.com. With Shareware Lock and the Dynamic Registration Library you can offer hands-off customer registration as a Handango developer.
This Library requires the .NET Compact Framework 2.0 and works on all devices to which the .NET Compact Framework 2.0 can be installed.
|