SmtpSettings.SetPreferredSuites Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
SetPreferredSuites(TlsCipherSuite[])
Sets TLS cipher suites to be used in preference to the remaining suites specified by SslAllowedSuites. Only applies to TLS 1.2 or earlier. For TLS 1.3, use SetSymmetricCipherSuites(TlsSymmetricCipherSuite[]) method. Inherited from SslSettings.
Declaration
public void SetPreferredSuites(params TlsCipherSuite[] suites)
Parameters
Type | Name | Description |
---|---|---|
TlsCipherSuite[] | suites | Preferred cipher suites, in order of preference. |