AgileDotNetLicenseProvider
Agile.NET LicenseProvider implementation.
Inheritance hierarchy
System.Object → LicenseProvider → AgileDotNetLicenseProvider
Namespace: AgileDotNet.Licensing
Assembly: AgileDotNet.Licensing (AgileDotNet.Licensing.dll)
Remarks
Agile.NET complies with the .NET Framework licensing model. The license is obtained by calling LicenseManager.Validate, which uses this provider and calls GetLicense to return an AgileDotNetLicense.
Example
Apply the attribute to your component and validate in the constructor:
[LicenseProvider(typeof(AgileDotNetLicenseProvider))]
public class SecuredComponent
{
public SecuredComponent()
{
license = LicenseManager.Validate(this.GetType(), this) as AgileDotNetLicense;
}
private AgileDotNetLicense license;
}