License 成员

为所有许可证提供 abstract 基类。向组件的特定实例授予许可证。

下表列出了由 License 类型公开的成员。

受保护的构造函数

  名称 说明
Protected method License 初始化 License 类的新实例。

页首

公共属性

  名称 说明
Public property LicenseKey 当在派生类中被重写时,获取授予该组件的许可证密钥。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Dispose 当在派生类中被重写时,释放该许可证使用的资源。
Public method Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Static ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

请参见

参考

License 类
System.ComponentModel 命名空间
LicenseContext
LicenseException
LicenseManager
LicenseProvider
LicenseProviderAttribute
LicFileLicenseProvider
LicenseUsageMode