Table of Contents

Class SpeedtestServer

Namespace
TorBoxSDK.Models.General
Assembly
TorBoxSDK.dll

Represents a speedtest server returned by the TorBox speedtest endpoint.

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

Properties

Closest

Gets a value indicating whether this is the closest server to the requester.

[JsonPropertyName("closest")]
public bool Closest { get; init; }

Property Value

bool

Coordinates

Gets the geographic coordinates of the server, or null if not available.

[JsonPropertyName("coordinates")]
public ServerCoordinates? Coordinates { get; init; }

Property Value

ServerCoordinates

Domain

Gets the server's base domain URL, or null if not available.

[JsonPropertyName("domain")]
public string? Domain { get; init; }

Property Value

string

Name

Gets the server's name, or null if not available.

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

Property Value

string

Path

Gets the path to the test file on the server, or null if not available.

[JsonPropertyName("path")]
public string? Path { get; init; }

Property Value

string

Region

Gets the server's region identifier, or null if not available.

[JsonPropertyName("region")]
public string? Region { get; init; }

Property Value

string

Url

Gets the full URL to the speedtest file, or null if not available.

[JsonPropertyName("url")]
public string? Url { get; init; }

Property Value

string