Publishes the location of the floating license database (or xml file) to the License Server.
In order to ensure that a user has not duplicated the floating license database, you can call PublishFloatingLicenseLocation to store the location of the floating license database on the server.
Subsequently, when your application starts up, you can call GetFloatingLicenseLocation and compare the registered location on the License Server with the real location of the database on the customer's network.
Note: this functionality requires a connection to the License Server. You should call the QlmLicense.PingEx method before calling PublishFloatingLicenseLocation to verify if you can connect to the License Server.
C#: public bool SetFloatingLicenseLocation(string webServiceUrl, string activationKey, string location, out string message)
webServiceUrl - URL to the QLM License Server.
activationKey - activation key associated to this installation.
location - full path of the floating license DB or xml file.
message - return message in case of an error.