//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.ComponentModel { using Microsoft.Win32; using System; using System.Diagnostics; using System.Security.Permissions; /// /// /// Provides the base class for all licenses. A license is /// granted to a specific instance of a component. /// [HostProtection(SharedState = true)] public abstract class License : IDisposable { /// /// /// When overridden in a derived class, gets the license key granted to this component. /// public abstract string LicenseKey { get; } /// /// /// When overridden in a derived class, releases the license. /// public abstract void Dispose(); } }