Cryptography ContextEnable Method
Enable the encryption algorithm.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public void Enable(
EncryptionAlgorithm algorithm
)Parameters
- algorithm EncryptionAlgorithm
- The encryption algorithm.
Implements
ICryptographyContextEnable(EncryptionAlgorithm)Remarks
Enables the encryption algorithm.