System.Messaging Reference (Document! X Sample)



System.Messaging Namespace > Message Class : AuthenticationProviderName Property
AuthenticationProviderName Property (Message)
Gets or sets the name of the cryptographic provider used to generate the digital signature of the message.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Specifies the name of the cryptographic provider used to generate the digital signature of the message.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<ReadOnlyAttribute(True)>
Public Property AuthenticationProviderName As String
'Usage
 
Dim instance As Message
Dim value As String
 
instance.AuthenticationProviderName = value
 
value = instance.AuthenticationProviderName
[MessagingDescription("Specifies the name of the cryptographic provider used to generate the digital signature of the message.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[ReadOnly(true)]
public string AuthenticationProviderName {get; set;}
[MessagingDescription("Specifies the name of the cryptographic provider used to generate the digital signature of the message.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[ReadOnly(true)]
public:
property String^ AuthenticationProviderName {
   String^ get();
   void set (    String^ value);
}

Property Value

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.
Exceptions
ExceptionDescription
The AuthenticationProviderName property could not be set.-or- The message queue is filtered to ignore the AuthenticationProviderName property.
The AuthenticationProviderName was set to null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also