Class TorrentTracker
Represents the torrent tracker information.
Inheritance
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class TorrentTracker
Properties
| Improve this Doc View SourceAdditionalData
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> |
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> |
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> |
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 |
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> |
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> |
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
| Improve this Doc View SourceTier
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> |
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
| Improve this Doc View SourceUrl
Tracker URL
Declaration
[JsonProperty("url")]
public Uri Url { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |