Determines if a floating license is registerd. 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 License Viewer application (QlmLicenseViewer.exe). This function should return QlmActivationStatus.AlreadyActivated. Any other value would indicate an issue.
C#: public QlmActivationStatus IsFloatingLicenseRegistered(string computerID, string computerName, out string message)
computerID - The ID of the computer on which the license should be activated.
computerName - The name of the computer on which the license should be activated.
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.