Esempio n. 1
0
        public static SFTPUtil Clone(SshBase baseConnection)
        {
            var clone = new SFTPUtil(baseConnection.Host, baseConnection.Username, baseConnection.Password);
            clone.sftp.Session = baseConnection.Session;

            return clone;
        }
Esempio n. 2
0
        public static SFTPUtil Clone(SshBase baseConnection)
        {
            var clone = new SFTPUtil(baseConnection.Host, baseConnection.Username, baseConnection.Password);

            clone.sftp.Session = baseConnection.Session;

            return(clone);
        }