Trial Node-Locked License

This tutorial demonstrates how to implement Mobile License and protect your mobile application as a trial (general evaluation) node-locked license. Specifically, you want to distribute your application as a trial version in which the user can try out the application immediately after installation, without requiring an evaluation License Key. If the user wants to continue to use the application after the trial period, you can issue the License Key to turn the trial version into the full registered version.

 

Based on the settings used in this tutorial, the following describes how the user would experience the protected application.

 

·         When starting the application, the Registration dialog box pops up showing a Registration ID. The user may click the Register Later button to skip registration during the trial period.

·         The user can try out the application for a limited trial period.

·         The user cannot gain additional trial period by reinstalling the application or turning back the system clock.

·         To register, the user can contact you by email, phone, fax, etc., and provide the Registration ID.

·         With the received Registration ID, you can generate the License Key to be returned to the user that turns the trial into full version (or extends the trial version).

·         During registration, you may collect the user information and charge the user a license fee.

·         When the user enters the License Key in the Registration dialog box, the application is turned into the full registered version.

Protecting Applications

Note that the shell protection method does not support mobile applications. To protect Windows Mobile applications, you can use the provided KeyCheck API (including the KeyCheck Class Library and the KeyCheck .NET CF Component). Please see Protecting Applications Using API and the provided code examples for more information.

Distributing Protected Applications

To create a setup package and distribute your application, please ensure to include the protected version of your executable file and the ElecKey system file:

 

·         Ekc3220M.dll (in \Deploy\MobileApp\KeyCheck\)

 

The above system files must be placed in the same directory as the protected executable file. Please see Mobile License System Files for more details.

Licensing Protected Applications

By implementing Mobile License, you can license the protected application by generating the License Key to be returned to the user. The following instructions describe how to use LicenseKey Manager to generate a License Key.

To Generate a License Key

1.       Run LicenseKey Manager.

2.       In the Main tab of the Key Properties pane, enter the Registration ID received from the user in the Registration ID field. Then, click the Check button.

3.       The Identification field shows the Key ID, Program ID, and flag decoded from the Registration ID. The flag M means the Registration ID is generated from the Mobile Key.

4.       From the Implementation drop-down list:

5.       Select Distribution if you want to generate the License Key that turns the application into the full version with no limit.

6.       Select Evaluation if you want to generate the License Key that extends the trial period. You can then specify the Expired Date, Max-Day, and Max-Exec as you want.

7.       From the Note pane, you can enter notes about registration such as the user’s name, address, telephone, etc. in the Messages field.

8.       From the Email pane, you can enter the user’s email address in the Email Address field.

9.       Click the Key Properties pane. Then, click the Generate button. The License Key is shown in the License Key field. All registration information (including Registration ID, License Key, date, etc.) are automatically recorded in the Registration List pane. 

10.    To send the License Key via email, click the Email pane. Then, click the Send button. LicenseKey Manager automatically launches your default email composer with both email address and License Key filled in.