Show / Hide Table of Contents

Class TorrentContent

Represents torrent content file info.

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

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

Availability

Gets the file availability, calculated as (available_pieces)/(total_pieces)

Declaration
[JsonProperty("availability")]
public double? Availability { get; set; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

Index

File index

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

IsSeeding

True if file is seeding/complete

Declaration
[JsonProperty("is_seed")]
public bool IsSeeding { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

File name (including relative path)

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

PieceRange

The range of the file.

Declaration
[JsonProperty("piece_range")]
[JsonConverter(typeof(ArrayToRangeConverter))]
public Range PieceRange { get; set; }
Property Value
Type Description
Range
| Improve this Doc View Source

Priority

File priority

Declaration
[JsonProperty("priority")]
public TorrentContentPriority Priority { get; set; }
Property Value
Type Description
TorrentContentPriority
| Improve this Doc View Source

Progress

File progress (percentage/100)

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

Size

Size

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