HttpProxy

HttpProxy(string, int)

初始化HttpProxy无需身份验证即可连接到代理服务器的类。

public HttpProxy(string address, int port)
范围类型描述
addressString代理的域名或IP地址
portInt32代理的端口号

也可以看看


HttpProxy(string, int, string, string)

初始化HttpProxy使用定义的用户名和密码连接到代理服务器的类。

public HttpProxy(string address, int port, string username, string password)
范围类型描述
addressString代理的域名或IP地址
portInt32代理的端口号
usernameString用于身份验证的用户名
passwordString验证密码

也可以看看