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.

SentinelLicensing.jar and jna.jar

>Declaring variables

>API calls

NOTE   Currently, Unified API do 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 with the License Manager

>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 the Redundant License Manager Pool Information

>Generating Locking Code Using fingerprintInfo and lockCodeInfo

>Parsing the License String to Obtain License Details

>Obtaining Application Context Information

>Obtaining License Manager Information

>Setting up User Name Alias

>Uninstalling a License from the License Manager

>Defining the Custom Locking Criteria

>Enabling the Trace Writer File

>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