Esempio n. 1
0
        public Task <long> AddBlocksetAsync(string filehash, long size, int blocksize, IEnumerable <string> hashlist, IEnumerable <string> blocklisthashes)
        {
            return(RunOnMain(() => {
                long blocksetid;

                m_database.AddBlockset(filehash, size, blocksize, hashlist, blocklisthashes, out blocksetid, m_transaction);
                return blocksetid;
            }));
        }