PROPID_M_PROV_NAME

The PROPID_M_PROV_NAME property specifies the name of the cryptographic provider used to generate the message's digital signature.

Type Indicator
VT_LPWSTR
PROPVARIANT Field
pwszVal
Property Values
Unicode string of the provider name (the default is "Microsoft Base Cryptographic Provider, Ver. 1.0").

Remarks

The PROPID_M_PROV_NAME property is typically used when working with foreign queues. The name and type (PROPID_M_PROV_TYPE) of the cryptographic provider is required to validate the digital signature of messages sent to a foreign queue or messages passed to MSMQ from a foreign queue. For information on sending authenticated messages to a foreign queue, see MSMQ Connector Server.

When PROPID_M_PROV_NAME is passed to MQSendMessage, MSMQ automatically sets PROPID_M_PROV_NAME_LEN to the length of the provider name.

To find out the name of the cryptographic provider used, pass PROPID_M_PROV_NAME and PROPID_M_PROV_NAME_LEN to MQReceiveMessage and examine the returned values.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mq.h.
  Import Library: Use mqrt.lib.
  Unicode: Defined only as Unicode.

See Also

MQSendMessage, PROPID_M_PROV_NAME_LEN, PROPID_M_PROV_TYPE