License Usage Activation Management
Comprehensive License Usage Monitoring
The License Usage page provides a detailed overview of all validated (activated) licenses, offering critical
insights into how your software is being utilized. Each entry on this page is meticulously linked to specific
device details, providing a clear audit trail of where your licenses are active. Invalidated (deactivated)
usages are distinctly shown in gray, allowing for easy identification of licenses no longer in use.
A powerful feature of this page is the ability to disable a specific license usage. This action prevents the
associated device from utilizing that particular license. Notably, if a license permits multiple activations on
different systems (as is common with floating licenses), disabling one usage will not affect other devices
currently using the same license. This functionality is exceptionally useful for effectively blacklisting a
device from using a license, providing granular control over unauthorized or problematic installations.
Dynamic Updates and Last Confirmation
When a license is updated (e.g., renewed, features added), the corresponding license usage will automatically
reflect these changes during the next client validation. This ensures that the end-user's software receives the
latest license entitlements without manual intervention. The "Last Confirmation Date" field displays the precise
date and time when the client last successfully validated its license with the server, a process that requires
an internet connection on the client side.
Offline License Validation
In scenarios where the client device lacks an internet connection, direct online validation or activation is not
possible the LICENSE4J library supports manual offline validation. When an internet connection is
unavailable, the licensing library will present a request for offline usage.
// generate an offline activation request string
License.getInstance()
.getLicenseInformation().getOfflineUsageRequestText("12345-12345-12345-12345");
The client can then submit this
request to you. This request contains necessary information that allows you to generate an
offline license usage on the License Server. Once generated and provided back to the customer, this offline
usage enables them to successfully install and activate the license on their device without an active internet
connection, ensuring continuous software access even in disconnected environments. The generated offline license
text on the server is a long string, it should be used in validate method just like a
license key.
// generate an offline activation request string
License.getInstance()
.validate("the-long-string-of-license-obtained-from-the-server");
To
create an offline usage (activation), simply go to the "Actions" menu on the license usages page and click
"Add Node-Locked Offline Usage." You'll be prompted to paste the offline usage request string that you received
from the user.
To
create an offline floating license server license, navigate to the "Actions" menu on the license usage page.
From there, choose "Add Floating License Server Usage." Remember to use the hostname and floating license server
fingerprint that you obtained from the user.