Open sandboxFocus

Method CheckContext

CheckContext(bool)

Determines whether the current ConcurrentAccessToken is valid in the current context.

Declaration
public bool CheckContext(bool canBeParentContext = false)
Parameters
Type Name Description
bool canBeParentContext

true if the current ConcurrentAccessToken can be the token of a parent token, false if it must be the token of the current context.

Returns
Type Description
bool

true if the current ConcurrentAccessToken is valid for the current context, otherwise false.