isFeatureEnabledEx

Comments

3 comments

  • Official comment
    Avatar
    Soraco Technologies

    IsFeatureEnabledEx will return valid results only after a License has been successfully validated.

    This is described in the documentation: https://support.soraco.co/hc/en-us/articles/207611713-QlmLicense-IsFeatureEnabledEx

    Comment actions Permalink
  • Avatar
    Alireza Afkhami-Aghda

    I understand that. But looks like if we change the on/off of a feature on QLM console, next time the program runs the IsFeatureEnabledEx function, it returns the old feature value (!). Is the first results cached somewhere and always used? 

    0
    Comment actions Permalink
  • Avatar
    Soraco Technologies

    Features are embedded in the Computer Key. In order to get the new features, you need to reactivate the license to get a new Computer Key. If you are using the LicenseValidator class and enable server-side validation, the LicenseValidator.ValidateLicenseAtStartup function will automatically reactivate the license behind the scene if it detects that a feature has changed on the server.

    0
    Comment actions Permalink

Please sign in to leave a comment.