Table of Contents

Method GuaranteesEncryptedChannel

Namespace
MailFathom.Domain.Transport
Assembly
MailFathom.Domain.dll

GuaranteesEncryptedChannel(MailConnectionSecurity)

Gets whether the connection mode guarantees that no traffic can travel unencrypted.

public static bool GuaranteesEncryptedChannel(MailConnectionSecurity connectionSecurity)

Parameters

connectionSecurity MailConnectionSecurity

The connection encryption mode.

Returns

bool

true when encryption is mandatory; otherwise false.

Exceptions

ArgumentOutOfRangeException

Thrown when connectionSecurity is not a defined member.