HttpProxy

HttpProxy constructor (1 of 2)

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

public HttpProxy(string address, int port)
Parameter Type Description
address String The domain name or IP address of the proxy
port Int32 The port number of the proxy

See Also


HttpProxy constructor (2 of 2)

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)
Parameter Type Description
address String The domain name or IP address of the proxy
port Int32 The port number of the proxy
username String Username for authentication
password String Password for authentication

See Also