| IFluentMailEncryptWith Method (X509Certificate2) |
Encrypts the message using specified certificate.
You can call this method multiple times to use several certificates for encryption.
General rule is that both sender and receiver should be able to decrypt the message.
Namespace:
Limilabs.Mail.Fluent
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax IFluentMail EncryptWith(
X509Certificate2 certificate
)
Function EncryptWith (
certificate As X509Certificate2
) As IFluentMail
IFluentMail^ EncryptWith(
X509Certificate2^ certificate
)
abstract EncryptWith :
certificate : X509Certificate2 -> IFluentMail
Parameters
- certificate
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Certificate to use for encryption.
Return Value
Type:
IFluentMailEmail configuration.
See Also