CryptographyContextIsEnabled Method

Check whether the specified encryption algorithm is enabled.

Definition

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

Parameters

algorithm  EncryptionAlgorithm
The encryption algorithm.

Return Value

Boolean
if the specified encryption algorithm is enabled; otherwise, .

Implements

ICryptographyContextIsEnabled(EncryptionAlgorithm)

Remarks

Determines whether the specified encryption algorithm is enabled.

See Also