編輯

共用方式為


WinHttpHandler.ServerCredentials Property

Definition

Gets or sets the credentials to be used by the client to authenticate to the server.

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

Property Value

The credentials to be used by the client to authenticate to the server.

Remarks

The default value for this property is null.

Applies to