Common Use Cases

As a developer, you may perform variety of tasks using Unified API. We have created examples of the more common use cases you might need. These examples use Unified API calls to accomplish the steps. Each example requires:

>Prerequisite "includes"

Libraries: Licensing library specific to your platform, including the dependent libraries specific to your environment.

Header file(s): licensing.h

>Declaring variables

>API calls

NOTE   Currently, Unified API does not support server-side customization. Users are requested to use VLS API for the same.

The common use case examples are:

>Configuring Lease Mode

>Implementing Cancel Lease, Resume Lease, and Force Sync

>Configuring Connected (Cloud LM)

>Coding a Standard License Authorization/Request

>Coding a Commuter License

>Finding the Expiration Date of a License

>Obtaining a List of Available Features

>Finding the Remaining Days/Hours of a Trial License

>Coding the Challenge-Response Mechanism While Requesting a License

>Obtaining Cumulative Trial License Usage Information

>Obtaining License Manager Information

>Obtaining the Redundant License Manager Pool Information

>Obtaining Application Context Information

>Decoding the License to View License Details

>Generating Locking Code Using fingerprintInfo and lockCodeInfo

>Implementing CustomEx Locking

>Setting up User Name Alias

>Uninstalling License from the License Manager

>Enabling Tracing Using Unified API

>Customizing the Default Standalone License Filename/Path

>Cleaning the Zombie Login Session on a License Manager

>Disabled Local Renewal While Using Auto-Refresh Functionality

>Terminating Active User Sessions

>Marking the Usage File as Completed

>Getting Usage Path Information

>Configuring SCP using Unified API