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

适用于