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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET