System.ComponentModel.LicFileLicenseProvider Class

Provides an implementation of a System.ComponentModel.LicenseProvider. The provider works in a similar fashion to the Microsoft .NET Framework standard licensing model.

See Also: LicFileLicenseProvider Members


public class LicFileLicenseProvider : LicenseProvider


The System.ComponentModel.LicFileLicenseProvider offers LicFileLicenseProvider.GetLicense(LicenseContext, Type, object, bool) and LicFileLicenseProvider.IsKeyValid(string, Type) methods. The LicFileLicenseProvider.IsKeyValid(string, Type) method determines whether the License.LicenseKey retrieved by the LicFileLicenseProvider.GetLicense(LicenseContext, Type, object, bool) method is valid. When you inherit from this class, you can override the LicFileLicenseProvider.IsKeyValid(string, Type) method to provide your own validation logic.

This class exists to provide similar licensing functionality to COM licensing and uses text license files.

For more information on licensing, see How to: License Components and Controls.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,