User Data

Aug 10, 2011 at 7:47 AM

Would add data of the User in License File ?
And also how to set the server for validation via code?

Coordinator
Aug 31, 2011 at 1:55 PM

That’s an interesting question. The quick answer is yes, although you need to extend the LicenseInfo to add the user data before it is signed.

A more extended answer is following:

The Product Key contains 6 bytes of information that can be used to identify the product name and version, product edition and expiration day for a trial version. The reason only 6 bytes are available is to keep the ProductKey as small as possible.

During the activation process, the product key is validated and the 6 bytes information is extracted to identify the type of product the ProductKey was issued for.

Once the ProductKey is processed, a LicenseInfo is generated with only that info (together with the machine hash) and signed with the server key to avoid tampering.

Currently, only the ProductKey and Machine Hash is sent from the client to validate the product, that’s why only that information is registered with the LicenseInfo, but additional info can be requested to the user and added in the LicenseInfo.

Since the LicenseInfo is signed with the server key, the client application can verify if the information contained in the LicenseInfo is valid.

Hope that answer the question.