标签 C# 下的文章

C#基于BencodeNET实现批量torrent种子文件大小统计

最近有个案子需要对大量的种子文件进行下载,但是硬盘容量有限,需要提前对种子文件的大小进行统计,没有找到好用的工具,所以用BencodeNET做一个简单的实现。0X00.引用using BencodeNET.Parsing;0X01.声明Torrent类internal class Torrent { public string displayName { get; set; }