2 writes to Type
System.Net.Security (2)
System\Net\Security\TlsFrameHelper.cs (2)
177header.Type = (TlsContentType)frame[0]; 209header.Type = TlsContentType.Handshake;
13 references to Type
System.Net.Security (13)
System\Net\Security\SslStream.IO.cs (8)
371else if (token.Failed && (_lastFrame.Header.Type == TlsContentType.Handshake || _lastFrame.Header.Type == TlsContentType.ChangeCipherSpec)) 393if (_lastFrame.Header.Type == TlsContentType.Alert && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify && 459switch (_lastFrame.Header.Type) 539bool isClientHello = _lastFrame.Header.Type == TlsContentType.Handshake && 577if ((nextHeader.Type != TlsContentType.Handshake && nextHeader.Type != TlsContentType.ChangeCipherSpec) && !_isRenego || frameSize > availableData.Length - chunkSize) 1017if (_lastFrame.Header.Type != TlsContentType.AppData)
System\Net\Security\TlsFrameHelper.cs (5)
91public override string ToString() => $"{Version}:{Type}[{Length}]"; 128if (Header.Type == TlsContentType.Handshake) 145return $"{Header.Version}:{Header.Type}[{Header.Length}]"; 243if (info.Header.Type == TlsContentType.Alert) 256if (info.Header.Type != TlsContentType.Handshake || frame.Length <= HandshakeTypeOffset)