Table of Contents

Class TorrentSearchResult

Namespace
TorBoxSDK.Models.Search
Assembly
TorBoxSDK.dll

Represents a single torrent search result returned by the TorBox Search API.

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

Properties

Cached

Gets whether the torrent is cached, or null if not available.

[JsonPropertyName("cached")]
public bool? Cached { get; init; }

Property Value

bool?

Category

Gets the category of the torrent, or null if not available.

[JsonPropertyName("category")]
public string? Category { get; init; }

Property Value

string

Hash

Gets the info hash of the torrent, or null if not available.

[JsonPropertyName("hash")]
public string? Hash { get; init; }

Property Value

string

Id

Gets the unique identifier of the torrent, or null if not available.

[JsonPropertyName("id")]
public string? Id { get; init; }

Property Value

string

LastKnownLeechers

Gets the last known number of leechers, or null if not available.

[JsonPropertyName("last_known_leechers")]
public int? LastKnownLeechers { get; init; }

Property Value

int?

LastKnownSeeders

Gets the last known number of seeders, or null if not available.

[JsonPropertyName("last_known_seeders")]
public int? LastKnownSeeders { get; init; }

Property Value

int?

Leechers

Gets the number of leechers currently connected to this torrent.

[JsonPropertyName("leechers")]
public int Leechers { get; init; }

Property Value

int

Magnet

Gets the magnet URI for the torrent, or null if not available.

[JsonPropertyName("magnet")]
public string? Magnet { get; init; }

Property Value

string

Name

Gets the display name of the torrent, or null if not available.

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

Property Value

string

Owned

Gets whether the torrent is already owned by the user, or null if not available.

[JsonPropertyName("owned")]
public bool? Owned { get; init; }

Property Value

bool?

Quality

Gets the quality tag of the torrent (e.g. "1080p"), or null if not available.

[JsonPropertyName("quality")]
public string? Quality { get; init; }

Property Value

string

RawTitle

Gets the raw unparsed title of the torrent, or null if not available.

[JsonPropertyName("raw_title")]
public string? RawTitle { get; init; }

Property Value

string

Seeders

Gets the number of seeders currently available for this torrent.

[JsonPropertyName("seeders")]
public int Seeders { get; init; }

Property Value

int

Size

Gets the total size of the torrent in bytes.

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

Property Value

long

Source

Gets the source indexer that provided this result, or null if not available.

[JsonPropertyName("source")]
public string? Source { get; init; }

Property Value

string

UpdatedAt

Gets the date and time when this result was last updated, or null if not available.

[JsonPropertyName("updated_at")]
public DateTimeOffset? UpdatedAt { get; init; }

Property Value

DateTimeOffset?

Website

Gets the website URL of the source indexer, or null if not available.

[JsonPropertyName("website")]
public string? Website { get; init; }

Property Value

string