Example #1
0
 private void CleanUp()
 {
     TorrentHandle_Destroy(handle);
     handle = new HandleRef(this, IntPtr.Zero);
 }
Example #2
0
 public TorrentHandle(IntPtr h)
 {
     handle = new HandleRef(this, h);
 }
Example #3
0
        public TorrentHandle()
        {
            IntPtr h = TorrentHandle_Create();

            handle = new HandleRef(this, h);
        }
Example #4
0
 public static extern IntPtr TorrentHandle_Status(TorrentHandleHandle h);
Example #5
0
 public static extern bool TorrentHandle_IsValid(TorrentHandleHandle h);
Example #6
0
 public static extern void TorrentHandle_Destroy(TorrentHandleHandle h);