Class TorrentProperties
Represents additional torrent properties.
Inheritance
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class TorrentProperties
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> |
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> |
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> |
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> |
Comment
Torrent comment
Declaration
[JsonProperty("comment")]
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompletionDate
Torrent completion date
Declaration
[JsonProperty("completion_date ")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? CompletionDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ConnectionCount
Torrent connection count
Declaration
[JsonProperty("nb_connections")]
[JsonConverter(typeof(NegativeToNullConverter))]
public int? ConnectionCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
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> |
CreatedBy
Torrent creator
Declaration
[JsonProperty("created_by")]
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreationDate
Torrent creation date
Declaration
[JsonProperty("creation_date")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? CreationDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
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> |
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> |
EstimatedTime
Torrent ETA
Declaration
[JsonProperty("eta")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? EstimatedTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
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> |
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> |
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> |
PieceSize
Torrent piece size
Declaration
[JsonProperty("piece_size")]
public long? PieceSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
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> |
SavePath
Torrent save path
Declaration
[JsonProperty("save_path")]
public string SavePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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> |
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> |
ShareRatio
Torrent share ratio
Declaration
[JsonProperty("share_ratio")]
public double ShareRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
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> |
TimeElapsed
Torrent elapsed time
Declaration
[JsonProperty("time_elapsed")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? TimeElapsed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |