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.7.1
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.

Implements

ICryptographyContextIsEnabled(EncryptionAlgorithm)
Remarks
Determines whether the specified encryption algorithm is enabled.
See Also