License Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the abstract
base class for all licenses. A license is granted to a specific instance of a component.
public ref class License abstract : IDisposable
public abstract class License : IDisposable
type License = class
interface IDisposable
Public MustInherit Class License
Implements IDisposable
- Inheritance
-
License
- Implements
Remarks
All components must call Dispose for the licenses they grant when the component is disposed or finalized.
Notes to Implementers
When you inherit from License, you must override the following members: LicenseKey and Dispose().
For more information on licensing, see How to: License Components and Controls.
Constructors
License() |
Initializes a new instance of the License class. |
Properties
LicenseKey |
When overridden in a derived class, gets the license key granted to this component. |
Methods
Dispose() |
When overridden in a derived class, disposes of the resources used by the license. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |