共用方式為


SocketsHttpHandler.Credentials 屬性

定義

取得或設定這個處理常式所用的驗證資訊。

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

屬性值

與處理常式相關聯的驗證認證。 預設值是 null

適用於