public Program() { fileName = "C:\\Users\\Connor\\Downloads\\bunny.torrent"; activeTorrent = new ActiveTorrent(fileName); activeTorrent.StartDownload(); Console.ReadLine(); }
public ConnectionManager(ActiveTorrent torrent) { this.peers = new List <Peer>(); this.torrent = torrent; }