Class TorrentPartialInfo
Represents the changes in information about torrent since the last refresh.
Inheritance
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class TorrentPartialInfo
Properties
| Improve this Doc View SourceActiveTime
The active time of this torrent
Declaration
[JsonProperty("time_active")]
[JsonConverter(typeof(SecondsToTimeSpanConverter))]
public TimeSpan? ActiveTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
AddedOn
The date and time when the torrent was added
Declaration
[JsonProperty("added_on")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? AddedOn { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
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> |
AutomaticTorrentManagement
Indicates whether automatic torrent management is enabled.
Declaration
[JsonProperty("auto_tmm")]
public bool? AutomaticTorrentManagement { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Category
Category of the torrent
Declaration
[JsonProperty("category")]
public string Category { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompletedSize
The completed amount (bytes)
Declaration
[JsonProperty("completed")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? CompletedSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
CompletionOn
The date and time when the torrent was completed
Declaration
[JsonProperty("completion_on")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? CompletionOn { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ConnectedLeechers
Number of leechers connected to
Declaration
[JsonProperty("num_leechs")]
public int? ConnectedLeechers { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ConnectedSeeds
Number of seeds connected to
Declaration
[JsonProperty("num_seeds")]
public int? ConnectedSeeds { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
CurrentTracker
The current torrent tracker
Declaration
[JsonProperty("tracker")]
public string CurrentTracker { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Downloaded
The downloaded data size (bytes)
Declaration
[JsonProperty("downloaded")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? Downloaded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
DownloadedInSession
The downloaded in this session data size (bytes)
Declaration
[JsonProperty("downloaded_session")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? DownloadedInSession { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
DownloadLimit
The download speed limit (bytes/second)
Declaration
[JsonProperty("dl_limit")]
[JsonConverter(typeof(NegativeToNullConverter))]
public int? DownloadLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
DownloadSpeed
Torrent download speed (bytes/s)
Declaration
[JsonProperty("dlspeed")]
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> |
FirstLastPiecePrioritized
True if first last piece are prioritized
Declaration
[JsonProperty("f_l_piece_prio")]
public bool? FirstLastPiecePrioritized { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ForceStart
True if force start is enabled for this torrent
Declaration
[JsonProperty("force_start")]
public bool? ForceStart { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
InactiveSeedingTimeLimit
Upload inactive seeding time limit
Declaration
[JsonProperty("inactive_seeding_time_limit")]
[JsonConverter(typeof(MinutesToTimeSpanConverter))]
public TimeSpan? InactiveSeedingTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
IncompletedSize
The remaining amount to download (bytes)
Declaration
[JsonProperty("amount_left")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? IncompletedSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
LastActivityTime
The date and time when this torrent was seen active for the last time
Declaration
[JsonProperty("last_activity")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? LastActivityTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
LastSeenComplete
The date and time when this torrent was seen complete for the last time
Declaration
[JsonProperty("seen_complete")]
[JsonConverter(typeof(UnixTimeToNullableDateTimeConverter))]
public DateTime? LastSeenComplete { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
MagnetUri
Magnet URI for the torrent
Declaration
[JsonProperty("magnet_uri")]
public string MagnetUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Torrent name
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Priority
Torrent priority. Returns -1 if queuing is disabled or torrent is in seed mode
Declaration
[JsonProperty("priority")]
public int? Priority { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Progress
Torrent progress (percentage/100)
Declaration
[JsonProperty("progress")]
public double? Progress { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Ratio
Torrent share ratio. Max ratio value is 9999
. If actual ratio is greater than 9999
, -1
is returned.
Declaration
[JsonProperty("ratio")]
public double? Ratio { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
RatioLimit
The maximal allowed ratio
Declaration
[JsonProperty("ratio_limit")]
public double? RatioLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
SavePath
The torrent save path
Declaration
[JsonProperty("save_path")]
public string SavePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SeedingTimeLimit
Upload seeding time limit
Declaration
[JsonProperty("seeding_time_limit")]
[JsonConverter(typeof(MinutesToTimeSpanConverter))]
public TimeSpan? SeedingTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
SequentialDownload
True if sequential download is enabled
Declaration
[JsonProperty("seq_dl")]
public bool? SequentialDownload { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Size
Total size (bytes) of files selected for download
Declaration
[JsonProperty("size")]
public long? Size { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
State
Torrent state
Declaration
[JsonProperty("state")]
[JsonConverter(typeof(TorrentStateConverter))]
public TorrentState? State { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TorrentState> |
SuperSeeding
True if super seeding is enabled
Declaration
[JsonProperty("super_seeding")]
public bool? SuperSeeding { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Tags
The torrent tags
Declaration
[JsonProperty("tags")]
[JsonConverter(typeof(StringToListConverter), new object[]{",", true})]
public IReadOnlyCollection<string> Tags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<System.String> |
TotalLeechers
Number of leechers in the swarm
Declaration
[JsonProperty("num_incomplete")]
public int? TotalLeechers { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TotalSeeds
Number of seeds in the swarm
Declaration
[JsonProperty("num_complete")]
public int? TotalSeeds { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TotalSize
Total torrent size (bytes)
Declaration
[JsonProperty("total_size")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? TotalSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Uploaded
The uploaded data size (bytes)
Declaration
[JsonProperty("uploaded")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? Uploaded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
UploadedInSession
The uploaded in this session data size (bytes)
Declaration
[JsonProperty("uploaded_session")]
[JsonConverter(typeof(NegativeToNullConverter))]
public long? UploadedInSession { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
UploadLimit
The upload speed limit (bytes/second)
Declaration
[JsonProperty("up_limit")]
[JsonConverter(typeof(NegativeToNullConverter))]
public int? UploadLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
UploadSpeed
Torrent upload speed (bytes/s)
Declaration
[JsonProperty("upspeed")]
public long? UploadSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |