Export (0) Print
Expand All

LicenseManager Methods

The LicenseManager type exposes the following members.

  NameDescription
Public method Static member CreateWithContext(Type, LicenseContext) Creates an instance of the specified type, given a context in which you can use the licensed instance.
Public method Static member CreateWithContext(Type, LicenseContext, Object[]) Creates an instance of the specified type with the specified arguments, given a context in which you can use the licensed instance.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member IsLicensed Returns whether the given type has a valid license.
Public method Static member IsValid(Type) Determines whether a valid license can be granted for the specified type.
Public method Static member IsValid(Type, Object, License) Determines whether a valid license can be granted for the specified instance of the type. This method creates a valid License.
Public method Static member LockContext Prevents changes being made to the current LicenseContext of the given object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Static member UnlockContext Allows changes to be made to the current LicenseContext of the given object.
Public method Static member Validate(Type) Determines whether a license can be granted for the specified type.
Public method Static member Validate(Type, Object) Determines whether a license can be granted for the instance of the specified type.
Top

Community Additions

ADD
Show:
© 2015 Microsoft