Show / Hide Table of Contents

Class TorrentTracker

Represents the torrent tracker information.

Inheritance
System.Object
TorrentTracker
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class TorrentTracker

Properties

| Improve this Doc View Source

AdditionalData

Additional properties not handled by this library.

Declaration
[JsonExtensionData]
public IDictionary<string, JToken> AdditionalData { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, Newtonsoft.Json.Linq.JToken>
| Improve this Doc View Source

CompletedDownloads

Number of completed downloads for current torrent reported by the tracker

Declaration
[JsonProperty("num_downloaded")]
[JsonConverter(typeof(NegativeToNullConverter))]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? CompletedDownloads { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

Leeches

Number of leeches for current torrent reported by the tracker

Declaration
[JsonProperty("num_leeches")]
[JsonConverter(typeof(NegativeToNullConverter))]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? Leeches { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

Message

Tracker message (there is no way of knowing what this message is - it's up to tracker admins)

Declaration
[JsonProperty("msg")]
public string Message { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Peers

Number of peers for current torrent reported by the tracker

Declaration
[JsonProperty("num_peers")]
[JsonConverter(typeof(NegativeToNullConverter))]
public int? Peers { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

Seeds

Number of seeds for current torrent reported by the tracker

Declaration
[JsonProperty("num_seeds")]
[JsonConverter(typeof(NegativeToNullConverter))]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? Seeds { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

Status

Tracker status as string

Declaration
[JsonIgnore]
public string Status { get; set; }
Property Value
Type Description
System.String
Remarks

Until API v2.2.0 this property might return localized status string.

Starting from API v2.2.0 this property always returns English status string.

See Also
TrackerStatus
| Improve this Doc View Source

Tier

Tracker priority tier. Lower tier trackers are tried before higher tiers

Declaration
[JsonProperty("tier")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? Tier { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

TrackerStatus

Tracker status

Declaration
[JsonIgnore]
public TorrentTrackerStatus? TrackerStatus { get; set; }
Property Value
Type Description
System.Nullable<TorrentTrackerStatus>
Remarks

Until API v2.2.0 this property might always return null on non-English localizations.

See Also
Status
| Improve this Doc View Source

Url

Tracker URL

Declaration
[JsonProperty("url")]
public Uri Url { get; set; }
Property Value
Type Description
System.Uri
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich