MessageSettingsSecurity.Credentials Property

 

Gets or sets the security credentials to attach to the request. If null, no credentials will be used.

Important: This setting does not imply the WindowsAuth authentication type. If this property is set and WindowsAuth is not set, these credentials will be used with the default ISAPI. If Automatic is used, the VDIR will be determined by the message itself.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public NetworkCredential Credentials { get; set; }
public:
property NetworkCredential^ Credentials {
    NetworkCredential^ get();
    void set(NetworkCredential^ value);
}
Public Property Credentials As NetworkCredential

Property Value

Type: System.Net.NetworkCredential

Network credential.

Remarks

NetworkCredential is not serializable and will always be null if you use remoting.

See Also

NetworkCredential
MessageSettingsSecurity Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top