Example #1
0
 private void CleanUp()
 {
     TorrentInfo_Destroy(handle);
     handle = new HandleRef(this, IntPtr.Zero);
 }
Example #2
0
 public TorrentInfo(IntPtr h)
 {
     handle = new HandleRef(this, h);
 }
Example #3
0
 public static extern void TorrentInfo_Destroy(TorrentInfoHandle h);
Example #4
0
        public TorrentInfo(string filePath)
        {
            IntPtr h = TorrentInfo_Create(filePath);

            handle = new HandleRef(this, h);
        }
Example #5
0
 public static extern void AddTorrentParams_TorrentInfo_Set(AddTorrentParamsHandle handle, TorrentInfoHandle ti);