Пример #1
0
 private static TorrentFile ToTorrentFile(FileMapping mapping)
 {
     var info = new FileInfo(mapping.Source);
     return new TorrentFile(mapping.Destination, info.Length, mapping.Source);
 }