TorrentPieceLayer Class
An entry of the BitTorrent v2 'piece layers' key (BEP 52): the piece hashes of a file.
public sealed class TorrentPieceLayerConstructors
| Name | Description |
|---|---|
| TorrentPieceLayer() |
TorrentPieceLayer()
public TorrentPieceLayer()No documentation is available.
Properties
| Name | Description |
|---|---|
| Hashes | The SHA-256 hashes of the pieces of the file, 32 bytes each, concatenated. |
| PiecesRoot | The 'pieces root' of the file the hashes belong to, 32 bytes. |
Hashes
TorrentPieceLayer.csThe SHA-256 hashes of the pieces of the file, 32 bytes each, concatenated.
public ReadOnlyMemory<byte> Hashes { get; set; }Property value
PiecesRoot
TorrentPieceLayer.csThe 'pieces root' of the file the hashes belong to, 32 bytes.
public ReadOnlyMemory<byte> PiecesRoot { get; set; }