コード例 #1
0
ファイル: Sftp.cs プロジェクト: wangzhefeng2000/csharputils
            public override bool count(long c)
            {
                this.transferred += c;
                string note = ("Transfering... [Elapsed time: " + elapsed + "]");

                m_sftp.SendProgressMessage(src, dest, (int)transferred, (int)total, note);
                return(!m_sftp.cancelled);
            }
コード例 #2
0
            public override bool count(long c)
            {
                this._transferred += c;
                string note = ("Transfering... [Elapsed time: " + _elapsed + "]");

                _mSftp.SendProgressMessage(_src, _dest, (int)_transferred, (int)_total, note);
                return(!_mSftp.cancelled);
            }