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. is null.
private SshClient ( ConnectionInfo connectionInfo, bool ownsConnectionInfo, IServiceFactory serviceFactory ) : System
connectionInfo ConnectionInfo The connection info.
ownsConnectionInfo bool Specified whether this instance owns the connection info.
serviceFactory IServiceFactory The factory to use for creating new services.
return System
        internal SshClient(ConnectionInfo connectionInfo, bool ownsConnectionInfo, IServiceFactory serviceFactory)
            : base(connectionInfo, ownsConnectionInfo, serviceFactory)
        {
            _forwardedPorts = new List<ForwardedPort>();
        }

Same methods

SshClient::SshClient ( ConnectionInfo connectionInfo ) : System
SshClient::SshClient ( ConnectionInfo connectionInfo, bool ownsConnectionInfo ) : 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