Encrypt

Encrypt(X509Certificate2)

Encrypts this message

public virtual MailMessage Encrypt(X509Certificate2 certificate)
Parameter Type Description
certificate X509Certificate2 X509 certificate to encrypt message

Return Value

Encrypted email message

See Also


Encrypt(X509Certificate2[])

Encrypts this message

public virtual MailMessage Encrypt(X509Certificate2[] certificates)
Parameter Type Description
certificates X509Certificate2[] Array with X509 certificates to encrypt message

Return Value

Encrypted email message

See Also