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

SftpClient() private method

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

Same methods

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