Click or drag to resize
MimeKit

ICryptographyContextIsEnabled(EncryptionAlgorithm) Method

Check whether the specified encryption algorithm is enabled.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
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