February 03, 2006

.Net Licensing with LIC file

Microsoft solution for Control .Net Licensing (that we call FILE LICENSING)
1- You must use the
on the top of your control class
2- You must check the validation of License in constructor’s control class by
LicenseManager.Validate(typeof(MYControl), this);
3- To run the application, you must use one file (with below spec.) near the executable (or dll) control.
FileName: [MYControlNamespace].[MYControlClassname].lic
Content: [MYControlNamespace].[MYControlClassname] is a licensed component.

This is the most simple microsoft solution, that can be advance!

No comments: