4 writes to Length
System.Net.Security (4)
System\Net\Security\TlsFrameHelper.cs (4)
173header.Length = -1; 182header.Length = ((frame[3] << 8) | frame[4]) + HeaderSize; 208header.Length = length; 214header.Length = -1;
11 references to Length
System.Net.Security (11)
System\Net\Security\SslStream.IO.cs (2)
573frameSize = nextHeader.Length; 1118return _lastFrame.Header.Length;
System\Net\Security\TlsFrameHelper.cs (6)
91public override string ToString() => $"{Version}:{Type}[{Length}]"; 132return $"{Header.Version}:{HandshakeType}[{Header.Length}] TargetName='{TargetName}' SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'"; 136return $"{Header.Version}:{HandshakeType}[{Header.Length}] SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'"; 140return $"{Header.Version}:{HandshakeType}[{Header.Length}] SupportedVersion='{SupportedVersions}'"; 145return $"{Header.Version}:{Header.Type}[{Header.Length}]"; 276bool isComplete = frame.Length >= info.Header.Length;
System\Net\Security\TlsSession.cs (3)
899if (input.Length < frameHeader.Length) 1251int frameSize = header.Length; 1605frameLength = frameInfo.Header.Length;