Show / Hide Table of Contents

Class TorrentProperties

Represents additional torrent properties.

Inheritance
System.Object
TorrentProperties
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 TorrentProperties

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

AdditionDate

When this torrent was added

Declaration
[JsonProperty("addition_date")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? AdditionDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

AverageDownloadSpeed

Torrent average download speed (bytes/second)

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

AverageUploadSpeed

Torrent average upload speed (bytes/second)

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

Comment

Torrent comment

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

CompletionDate

Torrent completion date

Declaration
[JsonProperty("completion_date ")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? CompletionDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

ConnectionCount

Torrent connection count

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

ConnectionLimit

Torrent connection count limit

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

CreatedBy

Torrent creator

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

CreationDate

Torrent creation date

Declaration
[JsonProperty("creation_date")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? CreationDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

DownloadLimit

Torrent download limit (bytes/s)

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

DownloadSpeed

Torrent download speed (bytes/second)

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

EstimatedTime

Torrent ETA

Declaration
[JsonProperty("eta")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? EstimatedTime { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
| Improve this Doc View Source

LastSeen

Last seen complete date

Declaration
[JsonProperty("last_seen")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? LastSeen { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

OwnedPieces

Number of pieces owned

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

Peers

Number of peers connected to

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

PieceSize

Torrent piece size

Declaration
[JsonProperty("piece_size")]
public long? PieceSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>
| Improve this Doc View Source

Reannounce

Number of seconds until the next announce

Declaration
[JsonProperty("reannounce")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? Reannounce { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
| Improve this Doc View Source

SavePath

Torrent save path

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

SeedingTime

Torrent elapsed time while complete

Declaration
[JsonProperty("seeding_time")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? SeedingTime { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
| Improve this Doc View Source

Seeds

Number of seeds connected to

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

ShareRatio

Torrent share ratio

Declaration
[JsonProperty("share_ratio")]
public double ShareRatio { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Size

Torrent total size (bytes)

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

TimeElapsed

Torrent elapsed time

Declaration
[JsonProperty("time_elapsed")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? TimeElapsed { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
| Improve this Doc View Source

TotalDownloaded

Total data downloaded for torrent (bytes)

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

TotalDownloadedInSession

Total data downloaded this session (bytes)

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

TotalPeers

Number of peers in the swarm

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

TotalPieces

Number of pieces of the torrent

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

TotalSeeds

Number of seeds in the swarm

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

TotalUploaded

Total data uploaded for torrent (bytes)

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

TotalUploadedInSession

Total data uploaded this session (bytes)

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

TotalWasted

Total data wasted for torrent (bytes)

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

UploadLimit

Torrent upload limit (bytes/s)

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

UploadSpeed

Torrent upload speed (bytes/second)

Declaration
[JsonProperty("up_speed")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? UploadSpeed { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

See Also

TorrentInfo
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich