TlsVersions.SetMinimumTlsVersions(SslProtocols) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the minimum acceptable versions of TLS.
public void SetMinimumTlsVersions (System.Security.Authentication.SslProtocols protocols = System.Security.Authentication.SslProtocols.None);
member this.SetMinimumTlsVersions : System.Security.Authentication.SslProtocols -> unit
Public Sub SetMinimumTlsVersions (Optional protocols As SslProtocols = System.Security.Authentication.SslProtocols.None)
Parameters
- protocols
- SslProtocols
Remarks
Will ignore a version less than TLS 1.0.
Affects: 1. MinimumTlsVersions property 2. Preferred property 3. For .NET framework 4.5.1 over HTTPS or websocket, as it does not offer a "SystemDefault" option, the version must be explicit.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET