Name
LicenseProvider
Synopsis
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
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.