2 writes to Type
System.Net.Security (2)
System\Net\Security\TlsFrameHelper.cs (2)
179header.Type = (TlsContentType)frame[0]; 211header.Type = TlsContentType.Handshake;
12 references to Type
System.Net.Security (12)
System\Net\Security\SslStream.IO.cs (7)
341else if (token.Failed && (_lastFrame.Header.Type == TlsContentType.Handshake || _lastFrame.Header.Type == TlsContentType.ChangeCipherSpec)) 363if (_lastFrame.Header.Type == TlsContentType.Alert && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify && 421switch (_lastFrame.Header.Type) 508if ((nextHeader.Type != TlsContentType.Handshake && nextHeader.Type != TlsContentType.ChangeCipherSpec) && !_isRenego || frameSize > availableData.Length - chunkSize) 933if (_lastFrame.Header.Type != TlsContentType.AppData)
System\Net\Security\TlsFrameHelper.cs (5)
92public override string ToString() => $"{Version}:{Type}[{Length}]"; 130if (Header.Type == TlsContentType.Handshake) 147return $"{Header.Version}:{Header.Type}[{Header.Length}]"; 241if (info.Header.Type == TlsContentType.Alert) 254if (info.Header.Type != TlsContentType.Handshake || frame.Length <= HandshakeTypeOffset)