Common Use Cases
As a developer, you may perform a variety of tasks using the Unified API. We have created examples of the more common use cases that you might need. These examples use Unified API calls to accomplish the steps.
Each example shows:
>Prerequisite "includes"
•Libraries: Licensing library specific to your platform, including the dependent libraries specific to your environment.
•SentinelLicensing.dll
>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:
>Implementing Cancel Lease, Resume Lease, and Force Sync
>Configuring Connected (Cloud LM)
>Coding a Standard License Authorization/Request
>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 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
>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