一个完全用 C# 编写的 BitTorrent 客户端?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/623635/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
A BitTorrent client completely written in C#?
提问by abhilash
Is there a BitTorrent client written completely (I mean completely) written in C# ? I am aware of the BitTorrent clients written in mono, I absolutely love it.
是否有完全(我的意思是完全)用 C# 编写的 BitTorrent 客户端?我知道用单声道编写的 BitTorrent 客户端,我非常喜欢它。
Are there any other opensource BitTorrent clients other than MonoTorrent & BitSharp written in C# which is under development?
除了用 C# 编写的正在开发的 MonoTorrent 和 BitSharp 之外,还有其他开源 BitTorrent 客户端吗?
Just wondering how much of an interest an "opensource bit torrent client in C#" would generate amongst C# programmer folks out there.
只是想知道“C# 中的开源比特 Torrent 客户端”会在 C# 程序员中产生多少兴趣。
EDIT: Do check out Michael Stum's Pumpkin torrent on http://pumpkintorrent.codeplex.com/
编辑:请在http://pumpkintorrent.codeplex.com/上查看 Michael Stum 的 Pumpkin torrent
@Michael: thanks for sharing the project url.
@Michael:感谢分享项目网址。
@Allan: thanks for MonoTorrent ;)
@Allan:感谢 MonoTorrent ;)
采纳答案by John Ellinwood
MonoTorrent is wonderful client and server library. There is a GUI written on GTK# - Monsoon for now it runs only at Linux. If you have a time to spend you could write a WPF GUI or with little modification to port Monsoon to Windows.
MonoTorrent 是很棒的客户端和服务器库。有一个用 GTK# - Monsoon 编写的 GUI,目前它只能在 Linux 上运行。如果您有时间花点时间,您可以编写 WPF GUI 或稍加修改即可将 Monsoon 移植到 Windows。
Look for Alan McGovern for more information.
寻找艾伦麦戈文了解更多信息。
回答by John Ellinwood
回答by John Ellinwood
What makes you think it's basic? ;) It sports more advanced features than a lot of other open (and closed) source torrent libraries. I think you've very much underestimated what monotorrent offers.
是什么让你认为它是基本的?;) 它具有比许多其他开放(和封闭)源 Torrent 库更先进的功能。我认为你非常低估了 monotorrent 提供的东西。
回答by Alan
Unfortunately i don't have 50 reputation to add comments, so I have to write another answer. My question was directed at this comment:
不幸的是,我没有 50 声望可以添加评论,所以我必须写另一个答案。我的问题是针对此评论的:
"but honeslty I feel it's still got a long way to go to be on par with other opensource bit torrent clients."
“但老实说,我觉得要与其他开源 Bit Torrent 客户端相提并论,它还有很长的路要走。”
What features do you feel are missing that makes it inferior to other libraries/clients? An incomplete list of features includes:
您认为缺少哪些功能使其不如其他库/客户端?不完整的功能列表包括:
- 100% platform independent
- IPV6 support
- Super-seeding
- A full bittorrent tracker
- DHT
- Peer exchange (utorrent style)
- Encryption
- Memory cache
- Prioritised downloading
- Selective downloading (technically this is just a subset of Prioritised downloading)
- Fast Peer extensions
- Local peer discovery,
- Ban lists (whitelisting/blacklisting of IPs at the same time)
- Magnet link downloads
- Endgame mode
- Libtorrent extension protocol
- rate limiting (per torrent/global)
- Http seeding (webseeding) - getright style
- Individual file relocation
- What else do you want ;)
- 100% 平台独立
- IPV6 支持
- 超级播种
- 一个完整的 bittorrent 跟踪器
- DHT
- 同行交流(utorrent风格)
- 加密
- 内存缓存
- 优先下载
- 选择性下载(从技术上讲,这只是优先下载的一个子集)
- 快速对等扩展
- 本地对等发现,
- 禁止名单(同时将IP列入白名单/黑名单)
- 磁铁链接下载
- 残局模式
- Libtorrent 扩展协议
- 速率限制(每个种子/全球)
- Http 播种(webseeding)——getright 风格
- 个人文件重定位
- 你还想要什么 ;)
So, is it just a case of you not realising the full potential of monotorrent or are there features missing that you consider critical? If so, patches are always welcome.
那么,这只是您没有意识到 monotorrent 的全部潜力还是缺少您认为至关重要的功能的情况?如果是这样,补丁总是受欢迎的。
""written on mono" is never a bad thing. It just I was looking for something on MS .Net"
““写在单声道上”从来都不是坏事。只是我在 MS .Net 上寻找一些东西”
I think you misunderstand. MonoTorrent/bitsharp doesbuild and run on MS.NET ;) All you have to do is check the code out from SVN, open MonoTorrent.sln and hit F5.
我想你误会了。MonoTorrent/bitsharp确实可以在MS.NET上构建和运行;) 您所要做的就是从 SVN 中检查代码,打开 MonoTorrent.sln 并按 F5。
Hope that helps.
希望有帮助。

