HashAlgorithm
MSMQMessage

The HashAlgorithm property specifies the hash algorithm used by MSMQ when authenticating messages.

Quick Info

Type: Long
Run time: read-write

Syntax

object.HashAlgorithm
 
Syntax Element Description
object Message (MSMQMessage) object that represents the message.

Settings

This property can be set to any of the values defined by the ALG_ID data type in wincrypt.h (the default is CALG_MD5) or in the MSMQ_CALG enumeration.

Remarks

The MSMQ run-time code uses the hashing algorithm when creating a digital signature and when authenticating the message.

For information on what MSMQ does to authenticate messages, see How MSMQ Authenticates Messages.


© 1997 by Microsoft Corporation. All rights reserved.