OctoTorrent.Client.ClientEngine.Contains C# (CSharp) Method

Contains() public method

public Contains ( InfoHash infoHash ) : bool
infoHash InfoHash
return bool
        public bool Contains(InfoHash infoHash)
        {
            CheckDisposed();
            if (infoHash == null)
                return false;

            return torrents.Exists(m => m.InfoHash.Equals(infoHash));
        }

Same methods

ClientEngine::Contains ( Torrent torrent ) : bool
ClientEngine::Contains ( TorrentManager manager ) : bool