Click or drag to resize
weroSoft AG, Software
LicenseManager Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Proposes functionality for managing licenses.
Inheritance Hierarchy
SystemObject
  WeroSoft.LicensingLicenseManager

Namespace:  WeroSoft.Licensing
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public sealed class LicenseManager
Remarks
The License Manager allows opening licenses. This includes also adding, removing and replacing module licenses on a product license. Note that the License Manager does not allow to alter a license itself. This can only be done

The LicenseManager type exposes the following members.

Constructors
  NameDescription
Public methodLicenseManager
Initializes a new instance of the license manager.
Public methodLicenseManager(String)
Initializes a new instance of the license manager.
Top
Properties
  NameDescription
Public propertySignatureKey
Gets or sets the key used for signing the license.
Top
Methods
  NameDescription
Public methodActivateLicense
Activates a license.
Public methodAddModuleLicense(IProductLicense, IModuleLicense)
Adds a module license to the defined product license.
Public methodAddModuleLicense(String, String)
Adds a module license to the an existing product license.
Public methodCreateLicense
Creates a license.
Public methodCreateModuleLicense
Creates a module license and allows handling a creation action.
Public methodCreateProductLicense
Create a product license.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadLicense
Loads a license.
Public methodRemoveModuleLicense(IProductLicense, String)
Removes a module license from a product license.
Public methodRemoveModuleLicense(String, String)
Removes a module license from a product license.
Public methodReplaceModuleLicense
Replaces a module license within a product license.
Public methodSaveLicense
Saves a license in a file.
Public methodSignActivationResult
Signs an activation result.
Public methodSignDeactivationResult
Signs an deactivation result.
Public methodSignLicense(IModuleLicense)
Signs a module license.
Public methodSignLicense(IProductLicense)
Signs a product license.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyLicense
Verify the given license.
Top
Extension Methods
  NameDescription
Public Extension MethodClone(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodCloneT(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodConvert (Defined by DataConverterExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String)Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.)
Public Extension MethodDynamicCast
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.)
Public Extension MethodExtractSystemParametersFromTrigger
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.)
Public Extension MethodGetFieldValue(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetFieldValueT(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValueT(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodInject(Type, Object)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInject(Type, Object, Boolean)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInjectField
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Type, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInvoke(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodInvokeTResult(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodSetFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetPropertyValue
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodTryInjectProperty
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.)
Top
See Also