HashAlgorithm Enumeration


Specifies the hash algorithm used by Message Queuing when authenticating messages.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public enum HashAlgorithm

Member nameDescription

MAC keyed-hash algorithm.


MD2 hashing algorithm.


MD4 hashing algorithm.


MD5 hashing algorithm.


No hashing algorithm.


SHA hashing algorithm.

Message authentication provides two services. It provides a way to ensure message integrity and a way to verify who sent the message. To request authentication, the sending application must set the authentication level of the message to be authenticated and attach a security certificate to the message.

To authenticate messages, the Message Queuing run-time DLL on the source computer uses a hashing algorithm when creating a digital signature for a message. The target Queue Manager then uses the same hashing algorithm to authenticate the message when it is received.

For more information about the authentication process, see the Message Queuing authentication topics in the MSDN Library.

.NET Framework
Available since 1.1
Return to top