Rebex SFTP for .NET

Proxy Constructor (ProxyType, ProxyAuthentication, String, Int32, Boolean, NetworkCredential)

Initializes a new instance of the Proxy class with the specified type, hostname, port, bypass setting, list of URIs to bypass, and credentials, with base authentification.

public Proxy(
   ProxyType proxyType,
   ProxyAuthentication authenticationMethod,
   string host,
   int port,
   bool bypassOnLocal,
   NetworkCredential credentials
);

Parameters

proxyType
The type of the proxy.
authenticationMethod
Authentication method.
host
The hostname of the proxy server.
port
The port of the proxy server.
bypassOnLocal
true to bypass the proxy for local addresses; otherwise, false.
credentials
A NetworkCredential to submit to the proxy server for authentication.

See Also

Proxy Class | Rebex.Net Namespace | Proxy Constructor Overload List