MapiMessage.Decrypt

Decrypt()

Decrypts the message with a certificate found in the certificate store.

public MapiMessage Decrypt()

Return Value

The decrypted message.

Remarks

The certificate and its private key are searched for in the personal (My) stores of the current user and of the computer.

See Also


Decrypt(X509Certificate2)

Decrypts the message with the specified certificate.

public MapiMessage Decrypt(X509Certificate2 certificate)
ParameterTypeDescription
certificateX509Certificate2The certificate, with its private key, to decrypt with.

Return Value

The decrypted message.

See Also