UploadProducts

Description

Uploads the list of products to the License Server.

Note that to call this function, you must:

  • Set the AdminEncryptionKey

void UploadProducts (string webServiceUrl, string productsXml, 
                     DateTime updatedUtcDate, out string response)

Parameters

Parameter
Type
Description

webServiceUrl

string

URL to the QLM License Server.

productsXml

string

Xml file containing the list of products. The format of the XML file is identical to the products.xml file stored on the client side. See example below.

updatedUtcDate

DateTime

UTC Date at which the products were last updated.

response

string

XML fragment containing the result of the call

Return

Type
Description

bool

returns true if the operation succeeded; false otherwise.

Response XML format

<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<result>Succesfully uploaded products.</result>
</QuickLicenseManager>

Example error response

Remarks

Use ParseResults to interpret the results of the call and load the returned data into an ILicenseInfo object.

Example list

Last updated