The EncryptAlgorithm property specifies the encryption algorithm used by MSMQ to encrypt private messages.
Type: | Long |
Run time: | read-write |
object.EncrypAlgorithm
Syntax Element | Description |
---|---|
object | Message (MSMQMessage) object that represents the message. |
The EncryptAlgorithm property can have any one of the following values:
Message encryption is based on public-key encryption using the Microsoft® Cryptography API with an underlying RSA provider.
EncryptAlgorithm is used with the MSMQMessage object's PrivLevel property to send private messages.
For a discussion on private messages, see Private Messages.
For a complete example of sending a private message (including setting the privacy level of a queue), see Sending Private Messages.
Windows NT: Requires version 4.0 SP3 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mqoai.h.
Import Library: Use mqoa.lib.
Unicode: Defined only as Unicode.