Custom Node-Locked License

This tutorial demonstrates how to implement Mobile License and protect your mobile application as a custom node-locked license. Specifically, you want to distribute your application in which the user must first obtain a License Key to activate the application before starting to use it. Then, you can license the application in any way you want using the provided preset implementations.

 

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.

         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 grants the registered license.

         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 licensed as specified in the License Key.

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

         Run LicenseKey Manager.

         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.

         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.

         From the Implementation drop-down list:

         Select Custom if you want to customize the licensing properties to generate the License Key.

         Select Distribution if you want to generate the License Key for full distribution with no limit.

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

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

         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.

         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.