Show / Hide Table of Contents

Interface ITorrentData

Namespace: MonoTorrent.Client
Assembly: MonoTorrent.dll
Syntax
public interface ITorrentData

Properties

Files

The files contained within the Torrent

Declaration
IList<ITorrentFileInfo> Files { get; }
Property Value
Type Description
System.Collections.Generic.IList<ITorrentFileInfo>

PieceLength

The size, in bytes, of each piece

Declaration
int PieceLength { get; }
Property Value
Type Description
System.Int32

Size

The size, in bytes, of the torrent.

Declaration
long Size { get; }
Property Value
Type Description
System.Int64

Extension Methods

ITorrentDataExtensions.BlocksPerPiece(ITorrentData, Int32)
ITorrentDataExtensions.BytesPerPiece(ITorrentData, Int32)
ITorrentDataExtensions.ByteOffsetToPieceIndex(ITorrentData, Int64)
ITorrentDataExtensions.PieceCount(ITorrentData)
ITorrentDataExtensions.PieceIndexToByteOffset(ITorrentData, Int32)
In This Article
Back to top Generated by DocFX