Table of Contents

Class TorrentFile

Namespace
TorBoxSDK.Models.Torrents
Assembly
TorBoxSDK.dll

Represents basic file information from a torrent's metadata.

public sealed record TorrentFile : IEquatable<TorrentFile>
Inheritance
TorrentFile
Implements
Inherited Members

Properties

Name

Gets the name of the file within the torrent.

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

Size

Gets the size of the file in bytes.

[JsonPropertyName("size")]
public long Size { get; init; }

Property Value

long