This documentation is archived and is not being maintained.

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.


[Visual Basic]
Public Class LicFileLicenseProvider
   Inherits LicenseProvider
public class LicFileLicenseProvider : LicenseProvider
public __gc class LicFileLicenseProvider : public LicenseProvider
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.


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.


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