Renci.SshNet.SshClient.SshClient C# (CSharp) Method

SshClient() private method

Initializes a new instance of the SshClient class.
If ownsConnectionInfo is true, then the connection info will be disposed when this instance is disposed.
is null.
private SshClient ( ConnectionInfo connectionInfo, bool ownsConnectionInfo ) : System
connectionInfo ConnectionInfo The connection info.
ownsConnectionInfo bool Specified whether this instance owns the connection info.
return System
        private SshClient(ConnectionInfo connectionInfo, bool ownsConnectionInfo)
            : this(connectionInfo, ownsConnectionInfo, new ServiceFactory())
        {
        }

Same methods

SshClient::SshClient ( ConnectionInfo connectionInfo ) : System
SshClient::SshClient ( ConnectionInfo connectionInfo, bool ownsConnectionInfo, IServiceFactory serviceFactory ) : System
SshClient::SshClient ( string host, int port, string username ) : System
SshClient::SshClient ( string host, int port, string username, string password ) : System
SshClient::SshClient ( string host, string username ) : System
SshClient::SshClient ( string host, string username, string password ) : System