Export (0) Print
Expand All

Message.AuthenticationProviderType Property

Gets or sets the type of cryptographic provider used to generate the digital signature of the message.

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

public CryptographicProviderType AuthenticationProviderType { get; set; }

Property Value

Type: System.Messaging.CryptographicProviderType
One of the CryptographicProviderType values. The default is RSA_FULL.


The AuthenticationProviderType property could not be set.


The message queue is filtered to ignore the AuthenticationProviderType property.

You typically use the AuthenticationProviderType property when working with foreign queues to specify which cryptographic service provider is associated with a message. Message Queuing requires the authentication provider name and authentication provider type of the cryptographic provider (authentication provider) to validate the digital signatures of both messages sent to a foreign queue and messages passed to Message Queuing from a foreign queue.

Only RsaFull is intended to be used with messaging.

When sending a message, always set the AuthenticationProviderType and ConnectorType properties together. When the message is sent, Message Queuing ignores the authentication provider type if the connector type is not also set.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft