Rebex SFTP for .NET

ProxySocket Constructor (ProxyType, String, Int32, String)

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

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

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.

See Also

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