private void CleanUp() { TorrentStatus_Destroy(handle); handle = new HandleRef(this, IntPtr.Zero); }
public TorrentStatus() { IntPtr h = TorrentStatus_Create(); handle = new HandleRef(this, h); }
public TorrentStatus(IntPtr h) { handle = new HandleRef(this, h); }
public static extern void TorrentStatus_Destroy(TorrentStatusHandle handle);