IMailServiceSslCipherSuitesPolicy Property

Get or set the cipher suites allowed to be used when negotiating an SSL or TLS connection.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
CipherSuitesPolicy? SslCipherSuitesPolicy { get; set; }

Property Value

CipherSuitesPolicy
The cipher algorithms allowed for use when negotiating SSL or TLS encryption.

Remarks

Specifies the cipher suites allowed to be used when negotiating an SSL or TLS connection. When set to , the operating system default is used. Use extreme caution when changing this setting.

  Note

This property should be set before calling any of the Connect or ConnectAsync methods.

  Note

This property is only available on .NET 8.0 and later.

See Also