36 references to OK
System (36)
net\System\Net\_NTAuthentication.cs (6)
518
if (result != SecurityStatus.
OK
)
598
if (status != SecurityStatus.
OK
) {
768
if (statusCode == SecurityStatus.
OK
)
771
GlobalLog.Assert(statusCode == SecurityStatus.
OK
, "NTAuthentication#{0}::GetOutgoingBlob()|statusCode:[0x{1:x8}] ({2}) m_SecurityContext#{3}::Handle:[{4}] [STATUS != OK]", ValidationHelper.HashString(this), (int)statusCode, statusCode, ValidationHelper.HashString(m_SecurityContext), ValidationHelper.ToString(m_SecurityContext));
845
statusCode = SecurityStatus.
OK
;
925
if (statusCode == SecurityStatus.
OK
)
net\System\Net\_SafeNetHandles.cs (1)
447
return UnsafeNclNativeMethods.SspiHelper.SspiFreeAuthIdentity(handle) == SecurityStatus.
OK
;
net\System\Net\_SecureChannel.cs (8)
1006
if ((errorCode == (int)SecurityStatus.
OK
|| errorCode == (int)SecurityStatus.ContinueNeeded)
1172
return SecurityStatus.
OK
;
1203
if ((errorCode == SecurityStatus.
OK
&& decspc[i].type == BufferType.Data)
1205
|| (errorCode != SecurityStatus.
OK
&& decspc[i].type == BufferType.Extra)) {
1359
if (status != SecurityStatus.
OK
)
1375
if (status != SecurityStatus.
OK
)
1958
return ((Status != SecurityStatus.
OK
) && (Status != SecurityStatus.ContinueNeeded));
1964
return (Status == SecurityStatus.
OK
);
net\System\Net\_TLSstream.cs (10)
149
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
178
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
216
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
245
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
285
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
332
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
362
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
388
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
534
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
579
else if (m_Worker.LastSecurityStatus != SecurityStatus.
OK
) {
net\System\Net\HttpListener.cs (3)
1568
if (statusCodeNew == SecurityStatus.
OK
)
1586
if (statusCodeNew != SecurityStatus.
OK
)
1685
if (statusCodeNew != SecurityStatus.
OK
)
net\System\Net\SecureProtocols\_SslState.cs (1)
929
if (status == SecurityStatus.
OK
)
net\System\Net\SecureProtocols\_SslStream.cs (7)
471
SecurityStatus status = SecurityStatus.
OK
;
481
if (status != SecurityStatus.
OK
)
506
if (status != SecurityStatus.
OK
)
517
if (status != SecurityStatus.
OK
)
521
if (status != SecurityStatus.
OK
)
586
if (errorCode != SecurityStatus.
OK
)
824
if (errorCode != SecurityStatus.
OK
)