Rebex SFTP for .NET

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

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

public Proxy(
   ProxyType proxyType,
   ProxyAuthentication authenticationMethod,
   string host,
   int port,
   bool bypassOnLocal,
   string[] bypassList,
   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.
bypassList
An array of regular expression strings containing the URIs of the servers to bypass.
credentials
A NetworkCredential to submit to the proxy server for authentication.

Remarks

Not supported by Rebex FTP for .NET Compact Framework.

See Also

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