public void RemoveTorrent(torrent_handle torrentHandle, bool deleteFromDisk) { try { torrentHandle.pause(); _session.remove_torrent(torrentHandle, deleteFromDisk ? 1 : 0); } catch { // } finally { torrentHandle.Dispose(); } }