Click or drag to resize
MimeKit

CryptographyContextIsEnabled Method (DigestAlgorithm)

Check whether the specified digest algorithm is enabled.

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

Parameters

algorithm
Type: MimeKit.CryptographyDigestAlgorithm
The digest algorithm.

Return Value

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