LicenseManager

G

Guest

Is it possible to implement feature based license validation using the
LicenseManager class provided by .Net framework.

The usage is LicenseManager.Validate(typeof(MyControl), this);

This would be at control level.

Is it possible to do something like LicenseManager.Validate(methodName,
typeof(MyControl));

So the custom LicenseProvider can validate if the user has licensed a
particular feature in the Control.

Thanks
 
J

Jesse Houwing

asiva said:
Is it possible to implement feature based license validation using the
LicenseManager class provided by .Net framework.

The usage is LicenseManager.Validate(typeof(MyControl), this);

This would be at control level.

Is it possible to do something like LicenseManager.Validate(methodName,
typeof(MyControl));

So the custom LicenseProvider can validate if the user has licensed a
particular feature in the Control.

Thanks

Yes this is possible. You provide the data that goes into the compiled
license file yourself at compile time. At that moment you can read which
features to enable and which ones to block from the registry or some
other license info store you've set up on the system the compiler is
running on.

Then at runtime you can use that information to enable/disable each feature.

Jesse Houwing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top