License License License License Class


所有授權的 abstract 基底類別。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


所有元件必須都呼叫Dispose他們授與時授權元件已遭處置或最終處理。All components must call Dispose for the licenses they grant when the component is disposed or finalized.


當您繼承自 License 時,您必須覆寫下列成員:LicenseKeyDispose()When you inherit from License, you must override the following members: LicenseKey and Dispose().

如需有關授權的詳細資訊,請參閱How to:授權元件和控制項For more information on licensing, see How to: License Components and Controls.


License() License() License() License()

初始化 License 類別的新執行個體。Initializes a new instance of the License class.


LicenseKey LicenseKey LicenseKey LicenseKey

在衍生類別中覆寫時,取得授與這個元件的授權識別碼。When overridden in a derived class, gets the license key granted to this component.


Dispose() Dispose() Dispose() Dispose()

在衍生類別中覆寫時,處置授權所使用的資源。When overridden in a derived class, disposes of the resources used by the license.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)