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. is null.
private SftpClient ( 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 SftpClient(ConnectionInfo connectionInfo, bool ownsConnectionInfo, IServiceFactory serviceFactory)
            : base(connectionInfo, ownsConnectionInfo, serviceFactory)
        {
            OperationTimeout = SshNet.Session.InfiniteTimeSpan;
            BufferSize = 1024 * 32;
        }

Same methods

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