【求代码】求BT的torrent文件解析代码,要求能够计算出torrent文件的info_hash
【求代码】求BT的torrent文件解析代码,要求能够计算出torrent文件的info_hash
我的目的是想用c#模拟客户端 取得BT 种子 peer 数量
【具体要求】
必须是 C# 代码
编译能够通过
必须能够无错的计算出 torrent文件的info_hash
或者
哪位大侠有具体C#实现 取得 peer 数的代码也可以。
【注意】
我看不懂 VC++ 的代码 那些代码 我都已经找到了,苦于看不懂
请大家不要贴VC++ 的代码 不会给分,谢谢
【相关VC++代码资料,谁能翻译成C#,而且编译通过,info_hash计算无误 也可以!】
bencoding编码解析器
http://blog.csdn.net/lightest/archive/2005/01/09/246230.aspx
torrent文件解析器
http://blog.csdn.net/lightest/archive/2005/01/10/247527.aspx
【100分不够 还可以开新贴 再给!!】