Method Reset
| Improve this Doc View SourceReset()
Resets the license providers for the executing assembly.
Declaration
public static void Reset()
Remarks
License providers cache the lookup result by default. Calling this method can enforce license providers to perform a new lookup for the next validation, instead of returning the cached result.
Reset(Type)
Resets the license providers for the assembly containing specified type.
Declaration
public static void Reset(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type contained by the assembly. |
Remarks
License providers cache the lookup result by default. Calling this method can enforce license providers to perform a new lookup for the next validation, instead of returning the cached result.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Reset(Assembly)
Resets the license providers for specified assembly.
Declaration
public static void Reset(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | The specified assembly. |
Remarks
License providers cache the lookup result by default. Calling this method can enforce license providers to perform a new lookup for the next validation, instead of returning the cached result.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|