EncryptionAlgorithmWrapper.EncryptionAlgo Property

Definition

Gets or sets the encryption algorithm used to encrypt the message body of a private message.

public:
 property System::Messaging::EncryptionAlgorithm EncryptionAlgo { System::Messaging::EncryptionAlgorithm get(); void set(System::Messaging::EncryptionAlgorithm value); };
[System.Runtime.InteropServices.ComVisible(true)]
public System.Messaging.EncryptionAlgorithm EncryptionAlgo { get; set; }
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.EncryptionAlgo : System.Messaging.EncryptionAlgorithm with get, set
Public Property EncryptionAlgo As EncryptionAlgorithm

Property Value

A valid value from the EncryptionAlgorithm enumeration. The EncryptionAlgorithm is an enumeration in the .NET Framework Class Library, and is in the System.Messaging namespace.

Attributes

Remarks

The default encryption value is Rc2. Other valid values are None, when there is no encryption, and Rc4, which corresponds to the less secure option.

Important

When configuring the Message Queue task to send messages, you can use one of the encryption algorithms, either Rc2 or Rc4, that are currently supported by Message Queuing (also known as MSMQ) technology 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