Determines if a floating license is activated. You can call this function randomly in your application to verify if a user did not inadvertantly or maliciously release a license that is currently in use. A license can be released by the end user if you give them access to the QLM Floating License Viewer application (QlmFloatingLicenseViewer.exe). This function should return QlmActivationStatus.AlreadyActivated. Any other value would indicate an issue.
C#: public QlmActivationStatus IsFloatingLicenseActivated(string nodeName, out string message)
nodeName- name of the floating node
message - A returned message with details about the operation.
QlmActivationStatus can have one of the following values:
Activated - The license was activated successfully.
AlreadyActivated - The license was already activated for this computer.
FailedToFindDb - The QLM Floating database was not found.
FailedToActivate - The activation failed.
InvalidLicense - The license key registered in the database is not valid.
NoMoreLicenses - There are no more licenses available.
NotActivated - The license was not activated.
Undefined - Initial value of this enum.