Encrypts a message.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Sub Encrypt ( _
	recipients As IEnumerable(Of Certificate) _
)
C#
public void Encrypt(
	IEnumerable<Certificate> recipients
)

Parameters

recipients
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Certificate>)>)>
The list of recipients' certificates. At least one must be specified.

Remarks

Encrypting the message will make its content inaccessible until it is decrypted.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also