Exemplo n.º 1
0
        /// <summary>
        /// Checks if the specified file exists without downloading it.
        /// </summary>
        /// <param name="nameSpace">The name space.</param>
        /// <param name="name">The name.</param>
        /// <returns>The meta information about the file.</returns>
        public DataMetaInfo Peek(string nameSpace, string name)
        {
            string downloadPath;

            byte[] torrentBytes = _manager.PeekData(nameSpace, name, out downloadPath);
            return(MakeDataMetaInfo(downloadPath, torrentBytes, false));
        }