Specifies the encryption algorithm used to encrypt the message body of a private message.
Assembly: System.Messaging (in System.Messaging.dll)
|The value MQMSG_CALG_RC2. This is the default value for the encryption property of the Message Queuing application's message object.|
|The value MQMSG_CALG_RC4. This corresponds to the less secure option for the encryption property of the Message Queuing application's message object.|
Cipher modes define the method in which data is encrypted. The stream cipher mode encodes data one bit at a time. The block cipher mode encodes data one block at a time. Although it tends to execute more slowly than stream cipher, block cipher is more secure. The following table describes the cipher mode for each of the values.
The Message Queuing message object's property ultimately provides access to operating system encryption levels.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.