Export (0) Print
Expand All

Message.AuthenticationProviderName Property

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

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

public string AuthenticationProviderName { get; set; }

Property Value

Type: System.String
The name of the cryptographic provider used to generate the digital signature of the message. The default is Microsoft Base Cryptographic Provider version 1.0.


The AuthenticationProviderName property could not be set.


The message queue is filtered to ignore the AuthenticationProviderName property.


The AuthenticationProviderName was set to null.

You typically use the AuthenticationProviderName when working with foreign queues. 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.

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

The AuthenticationProviderName property cannot be null, but it can be an empty string ("").

.NET Framework

Supported in: 4.5.3, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft