Click or drag to resize
MimeKit

CryptographyContextIsEnabled(EncryptionAlgorithm) Method

Check whether the specified encryption algorithm is enabled.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool IsEnabled(
	EncryptionAlgorithm algorithm
)

Parameters

algorithm  EncryptionAlgorithm
The encryption algorithm.

Return Value

Boolean
true if the specified encryption algorithm is enabled; otherwise, false.
Remarks
Determines whether the specified encryption algorithm is enabled.
See Also