HttpProxy.HttpProxy

HttpProxy(string, int)

Initializes a new instance of the HttpProxy class to connect to proxy server without authentication.

public HttpProxy(string address, int port)
ParameterTypeDescription
addressStringThe domain name or IP address of the proxy
portInt32The port number of the proxy

See Also


HttpProxy(string, int, string, string)

Initializes a new instance of the HttpProxy class to connect to proxy server with defined username and password.

public HttpProxy(string address, int port, string username, string password)
ParameterTypeDescription
addressStringThe domain name or IP address of the proxy
portInt32The port number of the proxy
usernameStringUsername for authentication
passwordStringPassword for authentication

See Also