License invalidation is the process of deactivating a previously validated license key, rendering it unusable on
the current system. This single method performs two primary functions: it remotely invalidates
the license on the server, making it unavailable for future use on the originating device, and locally deletes
the associated saved license file or registry data.
For users holding a node-locked license, providing a straightforward mechanism for license invalidation directly
from their device is especially important. This capability empowers users to deactivate their existing license,
which then permits them to transfer it to a new device. This not only significantly enhances the flexibility of
license management but also ensures that users can seamlessly migrate their software to new hardware without
losing access to their licensed entitlements. Offering clear instructions and an intuitive interface for this
deactivation process can substantially improve the overall user experience and reduce support inquiries related
to hardware changes.
For users leveraging a floating license, the act of deactivation carries a distinct meaning: it signifies the
release of a currently used license back into the central license pool. This action immediately makes that
license available for another user on the network to acquire and utilize, ensuring efficient resource allocation
and maximizing the concurrent use of the software within the licensed limit.
License invalidation or deactivation is accomplished with a single, straightforward call to the invalidate
method.
// Invalidate/Deactivate previously activated license
License.getInstance()
.invalidate() // deactivate previously activated license