Rebex SFTP for .NET

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

Initializes a new instance of the Proxy class with the specified type, hostname, port, and credentials with base authentification.

public Proxy(
   ProxyType proxyType,
   ProxyAuthentication authenticationMethod,
   string host,
   int port,
   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.
credentials
A NetworkCredential to submit to the proxy server for authentication.

See Also

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