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

ScpClient() private method

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

Same methods

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