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