LicenseManager

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top