Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

License Class

Provides the abstract (MustInherit in Visual Basic) base class for all licenses. A license is granted to a specific instance of a component.

For a list of all members of this type, see License Members.

System.Object
   System.ComponentModel.License

[Visual Basic]
MustInherit Public Class License
   Implements IDisposable
[C#]
public abstract class License : IDisposable
[C++]
public __gc __abstract class License : public IDisposable
[JScript]
public abstract class License implements IDisposable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

All components must call Dispose for the licenses they grant when the component is disposed or finalized.

Notes to Inheritors:  When you inherit from License, you must override the following members: LicenseKey and Dispose.

For more information on licensing, see Licensing Components and Controls.

Requirements

Namespace: System.ComponentModel

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

License Members | System.ComponentModel Namespace | LicenseContext | LicenseException | LicenseManager | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft