DekGenius.com
[ Team LiB ] Previous Section Next Section

LicenseProvider

System.ComponentModel (system.dll)abstract class

This abstract base class provides the basis for the implementation of a license provider. You should override the GetLicense( ) method to return a suitable license for the object, given the current LicenseContext and the type of the object requesting the license. If no valid license is available, you should throw a LicenseException.

For a standard implementation of LicenseProvider, see LicFileLicenseProvider.

public abstract class LicenseProvider {
// Protected Constructors
   protected LicenseProvider();
// Public Instance Methods
   public abstract License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions);
}

Subclasses

LicFileLicenseProvider

    [ Team LiB ] Previous Section Next Section