View previous topic :: View next topic |
Author |
Message |
dodger Guest
|
Posted: Wed Feb 15, 2006 8:14 am Post subject: About ProductInfo |
|
|
Hi all
I think ProductInfo is one of the most important fields. But I've fond no detailed explanations about.
Could you please provide more detailed xplanations about ProductInfo property?
Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Feb 15, 2006 8:26 am Post subject: |
|
|
The ProductInfo is a string which is embedded in the license key when it is generated. Your application can then extract the string from the license when the key is read. You can put what ever you want in the ProductInfo string.
Common uses for it are to put information about who the license is registered to (eg a company name) or the restrictions on the license (number of concurrent users, end date etc). Typically the longer the product info the longer the generated license keys will be. However because the underlying encryption algorithm uses blocks of 8 bytes this may occur in steps. Because of this if you want to keep the keys short you can put a checksum of other information in the product info (for instance the company name). Then when you install the license you ask the user to enter this information and verify against the checksum. The Custom Licensed Application sample illustrates this.
If you are doing this sort of thing you may also want to create a Custom Generator plugin for License Tracker. This allows you to supply some code that generates the product info from information input by the user. This can simplify the issuing of licenses. The Custom Generator sample illustrates this. _________________ Infralution Support |
|
Back to top |
|
|
|