共用方式為


TlsVersions.Preferred Property

Definition

The version of TLS to use by default.

public System.Security.Authentication.SslProtocols Preferred { get; }
member this.Preferred : System.Security.Authentication.SslProtocols
Public ReadOnly Property Preferred As SslProtocols

Property Value

Remarks

Defaults to "None", which means let the OS decide the proper TLS version (SChannel in Windows / OpenSSL in Linux).

Applies to