2 writes to m_Worker
System (2)
net\System\Net\_TLSstream.cs (2)
76m_Worker = new SslState(networkStream, initiatingRequest is HttpWebRequest, SettingsSectionInternal.Section.EncryptionPolicy); 117m_Worker = null;
56 references to m_Worker
System (56)
net\System\Net\_TLSstream.cs (56)
82m_Worker.SetCertValidationDelegate(certValidationCallback); 114m_Worker.Close(); 128return m_Worker.DataAvailable || base.DataAvailable; 136GlobalLog.Print("TlsStream#" + ValidationHelper.HashString(this) + "::Read() SecureWorker#" + ValidationHelper.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString()); 138if (!m_Worker.IsAuthenticated) 142return m_Worker.SecureStream.Read(buffer, offset, size); 146if (m_Worker.IsCertValidationFailed) { 149else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 162GlobalLog.Print("TlsStream#" + ValidationHelper.HashString(this) + "::BeginRead() SecureWorker#" + ValidationHelper.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString()); 164if (!m_Worker.IsAuthenticated) 172return m_Worker.SecureStream.BeginRead(buffer, offset, size, asyncCallback, asyncState); 175if (m_Worker.IsCertValidationFailed) { 178else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 202return m_Worker.SecureStream.EndRead(asyncResult); 213if (m_Worker.IsCertValidationFailed) { 216else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 231GlobalLog.Print("TlsStream#" + ValidationHelper.HashString(this) + "::Write() SecureWorker#" + ValidationHelper.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString()); 233if (!m_Worker.IsAuthenticated) 237m_Worker.SecureStream.Write(buffer, offset, size); 242if (m_Worker.IsCertValidationFailed) { 245else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 270GlobalLog.Print("TlsStream#" + ValidationHelper.HashString(this) + "::BeginWrite() SecureWorker#" + ValidationHelper.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString()); 271if (!m_Worker.IsAuthenticated) 279return m_Worker.SecureStream.BeginWrite(buffer, offset, size, asyncCallback, asyncState); 282if (m_Worker.IsCertValidationFailed) { 285else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 310m_Worker.SecureStream.EndWrite(asyncResult); 329if (m_Worker.IsCertValidationFailed) { 332else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 343GlobalLog.Print("TlsStream#" + ValidationHelper.HashString(this) + "::MultipleWrite() SecureWorker#" + ValidationHelper.HashString(m_Worker) + " buffers.Length:" + buffers.Length.ToString()); 345if (!m_Worker.IsAuthenticated) 349m_Worker.SecureStream.Write(buffers); 359if (m_Worker.IsCertValidationFailed) { 362else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 373GlobalLog.Print("TlsStream#" + ValidationHelper.HashString(this) + "::BeginMultipleWrite() SecureWorker#" + ValidationHelper.HashString(m_Worker) + " buffers.Length:" + buffers.Length.ToString()); 374if (!m_Worker.IsAuthenticated) 382return m_Worker.SecureStream.BeginWrite(buffers, callback, state); 385if (m_Worker.IsCertValidationFailed) { 388else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 412return m_Worker.InternalLocalCertificate; 423return m_Worker.GetChannelBinding(kind); 443if (m_Worker.IsAuthenticated) 467m_Worker.ValidateCreateContext(false, 480handshakeResult = new LazyAsyncResult(m_Worker, null, new AsyncCallback(WakeupPendingIO)); 495m_Worker.ProcessAuthentication(handshakeResult); 531if (m_Worker.IsCertValidationFailed) { 534else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 550m_Worker.ProcessAuthentication((LazyAsyncResult)state); 568m_Worker.EndProcessAuthentication(ar); 576if (m_Worker.IsCertValidationFailed) { 579else if (m_Worker.LastSecurityStatus != SecurityStatus.OK) { 649result = m_Worker.SecureStream.BeginWrite(bufferResult.Buffers, _CompleteIOCallback, bufferResult); 651result = m_Worker.SecureStream.BeginWrite(bufferResult.Buffer, bufferResult.Offset, bufferResult.Count, _CompleteIOCallback, bufferResult); 655result = m_Worker.SecureStream.BeginRead(bufferResult.Buffer, bufferResult.Offset, bufferResult.Count, _CompleteIOCallback, bufferResult); 697((TlsStream)bufferResult.AsyncObject).m_Worker.SecureStream.EndWrite(result); 699readBytes = ((TlsStream)bufferResult.AsyncObject).m_Worker.SecureStream.EndRead(result);