Rebex SFTP for .NET

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

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

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

Parameters

proxyType
The type of the proxy.
authenticationMethod
Authentication method.
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.
domain
A domain to submit to the proxy server for authentication.

See Also

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