Show / Hide Table of Contents

Method Reset

| Improve this Doc View Source

Reset()

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.

| Improve this Doc View Source

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

type is null.

| Improve this Doc View Source

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

assembly is null.

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