Tpm2Lib.SessionBase.IsPlaceholder C# (CSharp) Method

IsPlaceholder() static private method

Checks if the given reference is a placeholder indicating the type of authorization to be used in command buffer in its stead.
static private IsPlaceholder ( SessionBase s ) : bool
s SessionBase
return bool
        internal static bool IsPlaceholder(SessionBase s)
        {
            return s == Default || s == Hmac || s == Pw;
        }