can not get the features assosiated to the license key
I am developing a wpf windows app, to integrate with the Qlm of our company. I want to get the features associated to a license key. As i understood fromthis link :
I should call DefineProduct then ValidateLicense and then GetStatus to be able to call QlmLicense.Features. But this does not work. In QlmLicense.DefineProduct I am always getting true, also when i intentionally give a wrong productID. In ValidateKey and Getstatus i am always getting KeyInvalid, even when everything is correct. And Features is always 0. I have tried GetFeatures() and i am always getting an array with length 4 and all elemnts are 0. I hav tried it on different products with different features and it is always the same.
Note: All Keys i have tried are valid keys. I have checked the already in the QLM app
1. Please use the LicenseValidator class generated by the Protect Your App wizard in the QLM Management Console
2. After a successful call to ValidateLicenseAtStartup, you should use IsFeatureEnabledEx to check if a feature is enabled.Comment actions
Please sign in to leave a comment.