添加磁力链接到MonoTorrent

时间:2014-10-22 20:38:12

标签: c# magnet-uri monotorrent

我有一个磁力链接,我正在尝试使用磁力链接的构造函数创建一个TorrentManager,但Visual Studio一直告诉我它有无效的参数。我做错了什么?

j="magnet:?xt=urn:btih"+myMagnet;
string save = @"C:\Users\Jamie\Downloads";
TorrentSettings torrentSettings = new TorrentSettings(0,10,1000,0);
TorrentManager manager = new TorrentManager(MonoTorrent.InfoHash.FromMagnetLink(j),save,    torrentSettings, save);

0 个答案:

没有答案