private void CleanUp() { TorrentInfo_Destroy(handle); handle = new HandleRef(this, IntPtr.Zero); }
public TorrentInfo(IntPtr h) { handle = new HandleRef(this, h); }
public static extern void TorrentInfo_Destroy(TorrentInfoHandle h);
public TorrentInfo(string filePath) { IntPtr h = TorrentInfo_Create(filePath); handle = new HandleRef(this, h); }
public static extern void AddTorrentParams_TorrentInfo_Set(AddTorrentParamsHandle handle, TorrentInfoHandle ti);