MessageEnvelopes
Overview
The MessageEnvelopes class represents a list that holds envelope items attached to the message. This class is used by the Message class to store message envelopes.
Use Case
You can use this class to manage message envelopes, as shown in the following example:
AesEncryptionEnvelope Envelope = new AesEncryptionEnvelope();
Envelope.Password = "All work and no play makes Jack a dull boy.";
binMessage.Envelopes.Add(Envelope, true);
Note: For more information on envelopes usage in the Remoting SDK, please refer to this article. Please also look at the MegaDemo sample shipped with Remoting SDK to see message envelopes in action.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
- Ancestry: List<MessageEnvelopeItem> | MessageEnvelopes
Properties
Item
Provides direct access to a message envelope item object with a given index.
property Item[envelopeMarker: String]: MessageEnvelopeItem read;
MessageEnvelopeItem Item[String envelopeMarker] { get; }
ReadOnly Property Item(envelopeMarker As String) As MessageEnvelopeItem
Instance Methods
constructor
Creates a new instance of the MessageEnvelopes class.
constructor
MessageEnvelopes()
Sub New()
Add (MessageEnvelope)
method Add(envelope: MessageEnvelope)
void Add(MessageEnvelope envelope)
Sub Add(envelope As MessageEnvelope)
Parameters:
- envelope:
Add (MessageEnvelope, Boolean)
method Add(envelope: MessageEnvelope; enabled: Boolean)
void Add(MessageEnvelope envelope, Boolean enabled)
Sub Add(envelope As MessageEnvelope, enabled As Boolean)
Parameters:
- envelope:
- enabled: