Floating License
The CheckLicense function is not only used to validate the current license status, but also plays a role in floating licenses.
If the license is of floating cloud type, calling CheckLicense will automatically assign one floating slot to the current machine, identified by its hardware ID.
Floating licenses come with a predefined floating period—a time frame in which the license is valid on a given machine. If the license configuration allows, this period can be borrowed or extended for offline usage.
You can extend the floating period using one of two methods:
These functions will only succeed if the license allows borrowing and there are available slots or permissions for the request.
If you no longer need the license on the current machine, or want to release a floating slot before the borrow period ends, you can call:
This function immediately frees up the slot assigned to the current machine, making it available for others.