Show / Hide Table of Contents

Class LicenseManager

Provides static methods to get license from an assembly, determine if a valid license can be granted to an assembly, or reset license providers of an assembly.

Inheritance
System.Object
LicenseManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DevZest.Licensing
Assembly: DevZest.Licensing.dll
Syntax
public sealed class LicenseManager

Methods

Name Description
Check(String)

Determines whether a runtime license can be granted for the specified license item name of executing assembly.

Check(String, Boolean)

Determines whether a license can be granted for the specified license item name of the executing assembly, given specified design time or runtime mode.

Check(String, Assembly)

Determines whether a runtime license can be granted for the specified license item name of the specified assembly.

Check(String, Assembly, Boolean)

Determines whether a license can be granted for the specified license item name of the specified assembly, given specified design time or runtime mode.

Check(String, Type)

Determines whether a runtime license can be granted for the specified license item name of the assembly containing specified type.

Check(String, Type, Boolean)

Determines whether a license can be granted for the specified license item name of the assembly containing specified type, given specified design time or runtime mode.

GetLicense()

Gets a license for executing assembly.

GetLicense(Boolean)

Gets a license for executing assembly, given specified design time or runtime mode.

GetLicense(Assembly, Boolean)

Gets a license for specified assembly, given specified design time or runtime mode.

GetLicense(Type, Boolean)

Gets a license for assembly containing specified type, given specified design time or runtime mode.

Reset()

Resets the license providers for the executing assembly.

Reset(Assembly)

Resets the license providers for specified assembly.

Reset(Type)

Resets the license providers for the assembly containing specified type.

Validate(String)

Determines whether a runtime license can be granted for the specified license item name of executing assembly.

Validate(String, Boolean)

Determines whether a license can be granted for the specified license item name of the executing assembly, given specified design time or runtime mode.

Validate(String, Assembly)

Determines whether a runtime license can be granted for the specified license item name of the specified assembly.

Validate(String, Assembly, Boolean)

Determines whether a license can be granted for the specified license item name of the specified assembly, given specified design time or runtime mode.

Validate(String, Type)

Determines whether a runtime license can be granted for the specified license item name of the assembly containing specified type.

Validate(String, Type, Boolean)

Determines whether a license can be granted for the specified license item name of the assembly containing specified type, given specified design time or runtime mode.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest