示例#1
0
 public static extern IntPtr Session_AddTorrent(AddTorrentParamsHandle handle);
示例#2
0
 public static extern void Session_AsyncAddTorrent(AddTorrentParamsHandle handle);
示例#3
0
 public static extern uint AddTorrentParams_Trackers_Size_Get(AddTorrentParamsHandle handle);
示例#4
0
 public static extern void AddTorrentParams_Trackers_Get(AddTorrentParamsHandle handle, [In][Out][MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPStr)] string[] trk, uint size);
示例#5
0
 public static extern void AddTorrentParams_Url_Set(AddTorrentParamsHandle handle, string name);
示例#6
0
 public static extern void AddTorrentParams_Url_Get(AddTorrentParamsHandle handle, StringBuilder str, int size);
示例#7
0
 public static extern void AddTorrentParams_Flags_Set(AddTorrentParamsHandle handle, uint flags);
示例#8
0
 public static extern uint AddTorrentParams_Flags_Get(AddTorrentParamsHandle handle);
示例#9
0
 public static extern void AddTorrentParams_TorrentInfo_Set(AddTorrentParamsHandle handle, TorrentInfoHandle ti);
示例#10
0
 public static extern IntPtr AddTorrentParams_TorrentInfo_Get(AddTorrentParamsHandle handle);
示例#11
0
 private void CleanUp()
 {
     AddTorrentParams_Destroy(handle);
     handle = new HandleRef(this, IntPtr.Zero);
 }
示例#12
0
 public static extern void AddTorrentParams_Destroy(AddTorrentParamsHandle h);
示例#13
0
        public AddTorrentParams()
        {
            IntPtr h = AddTorrentParams_Create();

            handle = new HandleRef(this, h);
        }