LicFileLicenseProvider Class
Provides an implementation of a LicenseProvider. The provider works in a similar fashion to the Microsoft .NET Framework standard licensing module.
For a list of all members of this type, see LicFileLicenseProvider Members.
System.Object
System.ComponentModel.LicenseProvider
System.ComponentModel.LicFileLicenseProvider
[Visual Basic] Public Class LicFileLicenseProvider Inherits LicenseProvider [C#] public class LicFileLicenseProvider : LicenseProvider [C++] public __gc class LicFileLicenseProvider : public LicenseProvider [JScript] public class LicFileLicenseProvider extends LicenseProvider
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The LicFileLicenseProvider offers GetLicense and IsKeyValid methods. The IsKeyValid method determines whether the LicenseKey retrieved by the GetLicense method is valid. When you inherit from this class, you can override the IsKeyValid 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 Licensing Components and Controls.
Requirements
Namespace: System.ComponentModel
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
LicFileLicenseProvider Members | System.ComponentModel Namespace | License | LicenseContext | LicenseException | LicenseManager | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode