protected void Act() { var openAsyncResult = _sftpSession.BeginOpen(_path, Flags.Read, null, null); var readAsyncResult = _sftpSession.BeginRead(_handle, _offset, _length, null, null); _actualHandle = _sftpSession.EndOpen(openAsyncResult); _actualData = _sftpSession.EndRead(readAsyncResult); }