//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.ComponentModel { using Microsoft.Win32; using System; using System.Diagnostics; using System.Runtime.Remoting; using System.Security.Permissions; /// /// /// Provides the base class for implementing a . /// [HostProtection(SharedState = true)] public abstract class LicenseProvider { /// /// /// When overridden in a derived class, gets a license for an or /// of component. /// public abstract License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions); } }