15 references to IsValidContext
System (15)
net\System\Net\_NegotiateClient.cs (1)
126httpWebRequest.NtlmKeepAlive = incoming==null && authSession.IsValidContext && !authSession.IsKerberos;
net\System\Net\_NTAuthentication.cs (8)
183if (!(IsValidContext && IsCompleted)) 239GlobalLog.Assert(IsCompleted && IsValidContext, "NTAuthentication#{0}::OSSupportsExtendedProtection|The context is not completed or invalid.", ValidationHelper.HashString(this)); 295if (IsValidContext) 314GlobalLog.Assert(IsCompleted && IsValidContext, "NTAuthentication#{0}::MaxDataSize|The context is not completed or invalid.", ValidationHelper.HashString(this)); 577GlobalLog.Assert(IsCompleted && IsValidContext, "NTAuthentication#{0}::GetContextToken|Should be called only when completed with success, currently is not!", ValidationHelper.HashString(this)); 580if (!IsValidContext) { 626if ((IsValidContext || IsCompleted) && decodedIncomingBlob == null) { 1074GlobalLog.Assert(IsValidContext && IsCompleted, "NTAuthentication: Trying to get the client SPN before handshaking is done!");
net\System\Net\HttpListener.cs (4)
1561GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::HandleAuthentication() verb:" + verb + " context.IsValidContext:" + context.IsValidContext.ToString()); 1573if (context.IsValidContext) 1653error = !context.IsValidContext; 2259if (context.IsValidContext)
net\System\Net\SecureProtocols\_NegoState.cs (2)
137if (_Context != null && _Context.IsValidContext) { 315return _Context.IsCompleted && _Context.IsValidContext;