MSMQMessage.HashAlgorithm (Windows CE 5.0)
This property specifies the hash algorithm used by Message Queuing when authenticating messages.
HRESULT get_HashAlgorithm( long* plHashAlg);HRESULT put_HashAlgorithm( longlHashAlg);
Parameters
- plHashAlg or lHashAlg
Hash algorithm used by Message Queuing when authenticating messages. 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.
Return Values
The following table describes the common return values.
Value | Description |
---|---|
S_OK | Success |
E_INVALIDARG | One or more arguments are invalid |
E_NOTIMPL | The function contains no implementation |
E_OUTOFMEMORY | Out of memory |
Remarks
The Message Queuing run-time code uses the hashing algorithm when creating a digital signature and when authenticating the message.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mqoai.h.
Link Library: Mqoa.lib.
See Also
Send Feedback on this topic to the authors