TorrentInfo Class
public sealed class TorrentInfoNo documentation is available.
Constructors
| Name | Description |
|---|---|
| TorrentInfo() |
TorrentInfo()
TorrentInfo.cspublic TorrentInfo()No documentation is available.
Properties
| Name | Description |
|---|---|
| AdditionalKeys | The keys of the 'info' dictionary this model does not represent. They are written back as they are. |
| FileTree | The files of the BitTorrent v2 'file tree' key (BEP 52), in the order of the tree. |
| Files | |
| IsPrivate | |
| Length | |
| Md5Sum | The 'md5sum' of a single-file torrent's content, when the torrent carries one. |
| MetaVersion | The 'meta version' key (BEP 52): 2 for a BitTorrent v2 or hybrid torrent. |
| Name | |
| PieceLength | |
| Pieces | The SHA-1 hashes of the pieces (BitTorrent v1). Empty for a BitTorrent v2 only torrent. |
| Source | The 'source' key many private trackers add to make the info-hash unique to them. |
AdditionalKeys
TorrentInfo.csThe keys of the 'info' dictionary this model does not represent. They are written back as they are.
public IDictionary<BencodeString, BencodeValue> AdditionalKeys { get; }Property value
FileTree
TorrentInfo.csThe files of the BitTorrent v2 'file tree' key (BEP 52), in the order of the tree.
public IReadOnlyList<TorrentFileTreeEntry>? FileTree { get; set; }Property value
Files
TorrentInfo.cspublic IReadOnlyList<TorrentInfoFile>? Files { get; set; }Property value
No documentation is available.
IsPrivate
TorrentInfo.csLength
TorrentInfo.csMd5Sum
TorrentInfo.csMetaVersion
TorrentInfo.csName
TorrentInfo.csPieceLength
TorrentInfo.csPieces
TorrentInfo.csThe SHA-1 hashes of the pieces (BitTorrent v1). Empty for a BitTorrent v2 only torrent.
public ReadOnlyMemory<byte> Pieces { get; set; }