I would like to put a form on my website that accepts a customer's mail address for input. When a customer enters his mail address, my web server should send a mail with all of his license keys. I've started to fetch the data by using QlmLicenseLib.dll, but that seems rather complicated because of the inconsistence of the API.
To get the user data, I'm calling GetCustomersInfo to receive a data set of customers with the specified mail address. Then I'm using the CustomerId column of the result for getting the serial key with the GetDataSet method. This method does not return a DataSet object, it returns an XML representation of the DataSet instead. Now I have the keys - so next step would be calling GetDataSetEx for looking up the Product.
So... Is this really the right way to just compile a simple list of all products and serials a customer has bought with the specified mail address or am I missing something?
Thanks for your help!
Please sign in to leave a comment.