private void CleanUp() { TorrentHandle_Destroy(handle); handle = new HandleRef(this, IntPtr.Zero); }
public TorrentHandle(IntPtr h) { handle = new HandleRef(this, h); }
public TorrentHandle() { IntPtr h = TorrentHandle_Create(); handle = new HandleRef(this, h); }
public static extern IntPtr TorrentHandle_Status(TorrentHandleHandle h);
public static extern bool TorrentHandle_IsValid(TorrentHandleHandle h);
public static extern void TorrentHandle_Destroy(TorrentHandleHandle h);