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

Re: LicenseManager by Jesse

Jesse
Wed Jun 14 19:30:47 CDT 2006

asiva wrote:
> 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