ICryptography ContextIs Enabled Method
Check whether the specified encryption algorithm is enabled.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
if the specified encryption algorithm is enabled; otherwise, .
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
bool IsEnabled(
EncryptionAlgorithm algorithm
)Parameters
- algorithm EncryptionAlgorithm
- The encryption algorithm.
Return Value
Booleanif the specified encryption algorithm is enabled; otherwise, .
Remarks
Determines whether the specified encryption algorithm is enabled.