Rebex SFTP for .NET

ProxySocket Constructor (ProxyType, String, Int32, String, String)

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

public ProxySocket(
   ProxyType proxyType,
   string host,
   int port,
   string userName,
   string password
);

Parameters

proxyType
The type of the proxy.
host
The hostname of the proxy server.
port
The port of the proxy server.
userName
A user name to submit to the proxy server for authentication.
password
A password to submit to the proxy server for authentication.

See Also

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