Sets the content of this entity to the specified enveloped entity.

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

Syntax

Visual Basic
Public Sub SetEnvelopedContent ( _
	entity As MimeEntity, _
	ParamArray recipients As Certificate() _
)
C#
public void SetEnvelopedContent(
	MimeEntity entity,
	params Certificate[] recipients
)

Parameters

entity
Type: Rebex.Mime..::..MimeEntity
Entity to be enveloped.
recipients
Type: array<Rebex.Security.Certificates..::..Certificate>[]()[][]
The list of recipients' certificates.

Remarks

The purpose of enveloped content is to be encrypted. Call the Encrypt()()()() method prior to saving or sending the message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also