License Class
TOC
Collapse the table of content
Expand the table of content

License Class

 

Provides the abstract base class for all licenses. A license is granted to a specific instance of a component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

System.Object
  System.ComponentModel.License

<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)>
Public MustInherit Class License
	Implements IDisposable

NameDescription
System_CAPS_protmethodLicense()

Initializes a new instance of the License class.

NameDescription
System_CAPS_pubpropertyLicenseKey

When overridden in a derived class, gets the license key granted to this component.

NameDescription
System_CAPS_pubmethodDispose()

When overridden in a derived class, disposes of the resources used by the license.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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 How to: License Components and Controls.

.NET Framework
Available since 1.1

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

Return to top
Show:
© 2016 Microsoft