Aracılığıyla paylaş


MessageQueueTask.UseEncryption Property

Definition

Gets or sets a Boolean indicating whether the message uses encryption.

public:
 property bool UseEncryption { bool get(); void set(bool value); };
public bool UseEncryption { get; set; }
member this.UseEncryption : bool with get, set
Public Property UseEncryption As Boolean

Property Value

true indicates that encryption is used; false indicates that encryption is not used.

Implements

Remarks

The default value of this property is false.

Important

When configuring the Message Queue task to send messages, you can use one of the encryption algorithms that are currently supported by the Message Queuing (also known as MSMQ), RC2 and RC4, to encrypt the message. Both of these encryption algorithms are now considered cryptographically weak compared to newer algorithms, which Message Queuing does not yet support. Therefore, you should consider your cryptography needs carefully when sending messages using the Message Queue task.

Applies to