Software Products
Zarqon
Details
Zarqon AIR Demo
Zarqon AIR Demo
Lets see how easy it is to secure your AIR desktop application with Zarqon so that it will only run when the required license holder information is supplied, and expose enabled features.
Step 1 - Create a Product
Using the Zarqon License Control Center, we can quickly create a Product to be licensed.
The demo will have three features called 'This', 'That' and 'The Other'. For this demo, we also created a Feature Set called 'This and That' which contains the features 'This' and 'That' but not 'The Other'.
Learn more about creating Products.

Step 2 - Issue a License for this Product.
Issuing a License for a Product with Feature Sets extremely fast, since you usually just choose the appropriate Feature Set and go.
You can actually add multiple Feature Sets to a License, but they must be mutually exclusive (not contain any overlapping Features), which the software detects and won't let you do.
Learn more about issuing Licenses.

Step 3 - Write an AIR Application that uses the License.
The following is the salient portion of the code that validates the license and further enables or disables Features based on the License.
View the Source Code for the AIR Demo.

Step 4 - View the Licensed Application
Run the application on the desktop and see that it works.
Note that the License details show the Feature Set 'This and That' is enabled and it contains the Features named 'This' and 'That'.
Contrast this to the Flex demo, where we define the same Features but License them individually.
The source code handles the feature enablement in the same way for both demos. Thus, the application code only needs to test for individual Features and doesn't need to be concerned with the Feature Set.

Step 5 - Test Disabling the License
Disable the license from the Zarqon Desktop Control Center.
When you select a License from the License Holder's list of Licenses, you'll see a red 'Revoke License' icon to the top right beside the pencil icon for editing the License. If you revoke the License this way, it doesn't open the Edit License Details dialog, it just disables it. You can also edit the License and uncheck the 'enabled' checkbox in the License details. Either way, once you revoke the License, save the License Holder

Step 6 - View the Disabled Application
Run the application again and see that it is disabled.

Step 7 - Test Expiring the License
Re-enable the license, but set the license expiry date to the current date.
For this test, you will have to wait at least one day after you issue the license, since the interface will allow you to set the expiry to any date after license issue date but not the issue date itself.

Step 8 - View the Expired Application
Run the application and see that all the features are disabled and the license is reported as expired.

| < Prev | Next > |
|---|





