View previous topic :: View next topic |
Author |
Message |
Happs
Joined: 13 Jul 2011 Posts: 62 Location: Sydney, Australia
|
Posted: Fri Jun 12, 2015 2:24 am Post subject: Customise License Tracker |
|
|
We are using the license system to our product, currently manually we enter some specific formatted information to the AuthenticationData when we generate key. The data we enter could be incorrectly formatted if manually enter so we want to automate the process.
We have the source code and reviewing the CustomAuthenticatedApp sample. Is this preferred approach to call our dialog, where we can set the authentication data, product info, expiry date, when generate key?
We also need to view existing key authentication data and modify if required. Is it possible to call a custom app from license tracker to view the generated key information, where the custom app will extract authentication data and present in a UI?
Thanks |
|
Back to top |
|
|
Happs
Joined: 13 Jul 2011 Posts: 62 Location: Sydney, Australia
|
Posted: Fri Jun 12, 2015 6:57 am Post subject: |
|
|
I had a looked at the sample "CustomGenerator", looks like this features will meet our requirement, will use it as template.
Let me know, if you have any other suggestions.
Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Jun 12, 2015 9:00 am Post subject: |
|
|
The Custom Generator approach should do what you want. The Custom Generator can be called both in generating new licenses and when Setting the Authentication Data for existing licenses. Let me know if you have any issues. _________________ Infralution Support |
|
Back to top |
|
|
Happs
Joined: 13 Jul 2011 Posts: 62 Location: Sydney, Australia
|
Posted: Sat Jun 20, 2015 2:48 am Post subject: |
|
|
Is it possible to customise the "New License keys" dialog, which list the newly generated keys or call external application and pass the key?
Similar to Custom Generator, where external application can be called and passed the key generated.
We can then use the key, generate customised message and send email, which used to do for our existing internal license system.
Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun Jun 21, 2015 2:50 am Post subject: |
|
|
In this case you are probably better off developing a small separate application to generate the license keys and email them. Your application can call the Infralution.Licensing.Data API to add customers, sales and generate license keys in the License Tracker database. The Command Line Key Generator sample application shows how to use the API to do this. _________________ Infralution Support |
|
Back to top |
|
|
Happs
Joined: 13 Jul 2011 Posts: 62 Location: Sydney, Australia
|
Posted: Sun Jun 21, 2015 4:10 am Post subject: |
|
|
Thanks, will review the sample application. |
|
Back to top |
|
|
Happs
Joined: 13 Jul 2011 Posts: 62 Location: Sydney, Australia
|
Posted: Wed Jun 24, 2015 3:34 am Post subject: |
|
|
I am trying to update the expiry date of existing key using Custom Generator. My code sets the existing key CustomGeneratorData.ExpiryDate value but it gets ignored.
My Custom Generator successfully sets the Expiry date of the new key.
For example, modify the expiry date of the existing key from initial 01-07 to 12-07:
customGeneratorData.ExpiryDate: 12/07/2015 12:00:00 AM
customGeneratorData.Cancel: false
View the key again, shows 01-07 not 12-07:
customGeneratorData.ExpiryDate: 1/07/2015 12:00:00 AM
My code not setting the customGeneratorData.Cancel when updating the expiry date.
Any suggestions? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jun 24, 2015 6:19 am Post subject: |
|
|
The ICustomGenerator.GetLicenseKeyData method lets you set the default values when keys are generated (including setting the initial expiry date and limits). The ICustomGenerator.UpdateAuthenticationData method is called for updating existing keys when the user selects a key and then clicks on the Authentication > Set Authentication Data menu. Currently this method does not allow you to change the expiry date or other limits - only change the AuthenticationData. Normally you would use the Authentication > Set License Limits menu to change the expiry date or other limits for an existing key. _________________ Infralution Support |
|
Back to top |
|
|
Happs
Joined: 13 Jul 2011 Posts: 62 Location: Sydney, Australia
|
Posted: Wed Jun 24, 2015 6:47 am Post subject: |
|
|
As the ICustomGenerator lets us to set the default expiry date, would be nice if we could also update the expiry date.
May be you can consider this in future update.
Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jun 24, 2015 11:38 am Post subject: |
|
|
We do already have a Feature Request in our system for this and we have had a look at this in the past but there are some factors that make it a bit complicated to implement. _________________ Infralution Support |
|
Back to top |
|
|
|