Επεξεργασία

Κοινή χρήση μέσω


SocketsHttpHandler.Credentials Property

Definition

Gets or sets authentication information used by this handler.

public:
 property System::Net::ICredentials ^ Credentials { System::Net::ICredentials ^ get(); void set(System::Net::ICredentials ^ value); };
public System.Net.ICredentials? Credentials { get; set; }
public System.Net.ICredentials Credentials { get; set; }
member this.Credentials : System.Net.ICredentials with get, set
Public Property Credentials As ICredentials

Property Value

The authentication credentials associated with the handler. The default value is null.

Exceptions

An operation has already been started on the current instance.

The current instance has been disposed.

Applies to