2 writes to Type
System.Net.Security (2)
System\Net\Security\TlsFrameHelper.cs (2)
178header.Type = (TlsContentType)frame[0]; 210header.Type = TlsContentType.Handshake;
13 references to Type
System.Net.Security (13)
System\Net\Security\SslStream.IO.cs (8)
366else if (token.Failed && (_lastFrame.Header.Type == TlsContentType.Handshake || _lastFrame.Header.Type == TlsContentType.ChangeCipherSpec)) 388if (_lastFrame.Header.Type == TlsContentType.Alert && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify && 446switch (_lastFrame.Header.Type) 526bool isClientHello = _lastFrame.Header.Type == TlsContentType.Handshake && 559if ((nextHeader.Type != TlsContentType.Handshake && nextHeader.Type != TlsContentType.ChangeCipherSpec) && !_isRenego || frameSize > availableData.Length - chunkSize) 1021if (_lastFrame.Header.Type != TlsContentType.AppData)
System\Net\Security\TlsFrameHelper.cs (5)
92public override string ToString() => $"{Version}:{Type}[{Length}]"; 129if (Header.Type == TlsContentType.Handshake) 146return $"{Header.Version}:{Header.Type}[{Header.Length}]"; 240if (info.Header.Type == TlsContentType.Alert) 253if (info.Header.Type != TlsContentType.Handshake || frame.Length <= HandshakeTypeOffset)