2 writes to Version
System.Net.Security (2)
System\Net\Security\TlsFrameHelper.cs (2)
185
header.
Version
= TlsMinorVersionToProtocol(frame[2]);
208
header.
Version
= SslProtocols.Ssl2;
10 references to Version
System.Net.Security (10)
System\Net\Security\SslStream.IO.cs (2)
344
payload = TlsFrameHelper.CreateAlertFrame(_lastFrame.Header.
Version
, TlsAlertDescription.ProtocolVersion);
431
if (!_isRenego && _buffer.EncryptedReadOnlySpan[_lastFrame.Header.
Version
== SslProtocols.Ssl2 ? HandshakeTypeOffsetSsl2 : HandshakeTypeOffsetTls] == (byte)TlsHandshakeType.ClientHello &&
System\Net\Security\TlsFrameHelper.cs (8)
92
public override string ToString() => $"{
Version
}:{Type}[{Length}]";
134
return $"{Header.
Version
}:{HandshakeType}[{Header.Length}] TargetName='{TargetName}' SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
138
return $"{Header.
Version
}:{HandshakeType}[{Header.Length}] SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
142
return $"{Header.
Version
}:{HandshakeType}[{Header.Length}] SupportedVersion='{SupportedVersions}'";
147
return $"{Header.
Version
}:{Header.Type}[{Header.Length}]";
239
info.SupportedVersions = info.Header.
Version
;
261
if (info.Header.
Version
== SslProtocols.Ssl2)
277
if (((int)info.Header.
Version
>= (int)SslProtocols.Tls) &&