Exemple #1
0
 public TorrentHandle FindTorrent(Sha1Hash hash)
 {
     return(new TorrentHandle(Session_FindTorrent(hash.GetHandle())));
 }
Exemple #2
0
 public peer_alert(IntPtr alert)
     : base(alert)
 {
     pid = new Sha1Hash(Alert_PeerAlert_Pid_Get(handle));
 }