MailMessage.Decrypt

Decrypt()

Decrypts this message

public virtual MailMessage Decrypt()

Return Value

Decrypted E-mail message

Remarks

Method searches the current user and computer My stores for the appropriate certificate and private key.

See Also


Decrypt(X509Certificate2)

Decrypts this message

public virtual MailMessage Decrypt(X509Certificate2 certificate)
ParameterTypeDescription
certificateX509Certificate2System.Security.Cryptography.X509Certificates.X509Certificate2

Return Value

E-mail message

See Also