ASP.NET Web Forms - Features
I have added 5 different "features" to my application license. The plan is to use these to set a total number of users. F1 = 10 users. F2 = 25 users. F3 = 100 users. F4 = Unlimited users.
Based on the feature and number of users, I plan to check the number of users in the database table, and if it equals the number set by the license feature, then they will not be allowed to add more.
My issue is, that I am not getting the features that I set for the license. I created, activated, and validated the license. yet when I call Features.ToString(),it returns 0, not the 1 that it is preconfigured for.
Similarly, when calling GetFeaturesAsString, it returns empty. Am I missing a step?
-
Official comment
Please use IsFeatureEnabledEx to check if a feature is enabled. You must call ValidateLicense prior to calling IsFeatureEnabledEx.
Comment actions
Please sign in to leave a comment.
Comments
1 comment