共用方式為


TlsVersions.SetLegacyAcceptableVersions Method

Definition

Sets the acceptable versions of TLS over HTTPS or websocket for .NET framework 4.5.1, as it does not offer a "SystemDefault" option. No-op for other .NET versions. Sets CheckCertificateRevocationList property to value of CertificateRevocationCheck for .NET framework 4.5.1

public void SetLegacyAcceptableVersions ();
member this.SetLegacyAcceptableVersions : unit -> unit
Public Sub SetLegacyAcceptableVersions ()

Applies to