Show / Hide Table of Contents

Class TorrentListQuery

Encapsulates the query parameters to get the list of torrents.

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

Properties

| Improve this Doc View Source

Category

Gets or sets the category to filter by.

Declaration
public string Category { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Filter

Gets or sets the filter.

Declaration
public TorrentListFilter Filter { get; set; }
Property Value
Type Description
TorrentListFilter
| Improve this Doc View Source

Hashes

Gets or sets the hashes of the torrents to display.

Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.0.1")]
public IEnumerable<string> Hashes { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc View Source

Limit

Gets or sets the maximal number of torrents to return.

Declaration
public int? Limit { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
See Also
Offset
| Improve this Doc View Source

Offset

Gets or sets the offset from the beginning of the torrent list.

Declaration
public int? Offset { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
See Also
Limit
| Improve this Doc View Source

ReverseSort

Gets or sets a value indicating whether sorting must be performed in the descending order.

Declaration
public bool ReverseSort { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SortBy

Gets or sets the field to sort by.

Declaration
public string SortBy { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Tag

Get torrents with the given tag (empty string means "without tag"; no "tag" parameter means "any tag". Remember to URL-encode the category name. For example, My tag becomes My%20tag.

Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.8.3")]
public string Tag { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich