如何从vb.net以编程方式向bittorrent添加磁铁URL?

时间:2013-08-18 17:18:16

标签: vb.net bittorrent

我有一个数据库表,其中Magnet URL由另一个程序存储,如magnet:?stuff.com%num。我想使用一个单独的程序将这些URL添加到bittorrent。

任何帮助将不胜感激!

1 个答案:

答案 0 :(得分:4)

如果磁力链接已与BitTorrent关联,您只需使用Diagnostics.Process.Start

即可
Diagnostics.Process.Start("magnet:?...") 

如果磁铁链接没有关联,那么您可以将磁铁链接作为参数传递:

Diagnostics.Process.Start("C:\...\BitTorrent.exe", "magnet:?...")