Export (0) Print
Expand All

LicenseManager Methods

The LicenseManager type exposes the following members.

  Name Description
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.)
Public method GetHashCode Serves as the default hash function. (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.
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
Show:
© 2014 Microsoft