【问题标题】:Creating a torrent file with monotorrent: How do I add webseeds?使用 monotorrent 创建 torrent 文件:如何添加网络种子?
【发布时间】:2011-01-21 20:52:51
【问题描述】:

我一直在查看monotorrent,在调查整个 bittorrent 的过程中,我发现一个 torrent 文件还可以指定网络种子,它们基本上是标准的 HTTP 下载,但可以工作,例如作为初始种子。

我也在monotorrent 0.8的release notes看到他们

添加了将网络种子轻松添加到使用 TorrentCreator 创建的种子的功能。

但是,我不知道怎么做。有一种方法可以通过 TorrentCreator 将自定义键/值对添加到 torrent 文件,但是在 monotorrent TorrentCreator 类的帮助下,将网络种子合并到 torrent 文件中的正确咒语是什么?

【问题讨论】:

  • "MonoTorrent 是 BitTorrent 协议的跨平台开源实现。"这是一个.NET DLL。绝对是一个编程问题。

标签: .net mono seed monotorrent


【解决方案1】:

哇,这很有趣……首先是超级用户,然后是 stackoverflow。如果人们说它与编程无关,我可以理解,因为它更多的是关于 torrent 协议本身,但无论如何。如果您希望它关闭,请关闭,但不要再迁移了。

存储到 torrent 文件的正确键是“url-list”,它是用作网络种子的 url。对于 monotorrent,这可以通过 TorrentCreator 类的“AddCustom”方法来完成。 BEncoded... 类将允许您定义单个 url 或多个可用作网络种子的 URL。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-09
    • 1970-01-01
    相关资源
    最近更新 更多