Protocol Property
Protocol
Gets or sets the SSL protocol.
Declaration
public SslProtocols Protocol { get; set; }
Property Value
SslProtocols |
Remarks
The value is passed directly to the underlying SslStream when authenticating the client. It is recommended to leave the value set to None in order to let the operating system choose the best option. Alternatively, use one of TLS versions (1.1, 1.2 or 1.3 where available). Note that not all operating systems support all versions.