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 SourceCategory
Gets or sets the category to filter by.
Declaration
public string Category { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Filter
Gets or sets the filter.
Declaration
public TorrentListFilter Filter { get; set; }
Property Value
Type | Description |
---|---|
TorrentListFilter |
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> |
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
| Improve this Doc View SourceOffset
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
| Improve this Doc View SourceReverseSort
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 |
SortBy
Gets or sets the field to sort by.
Declaration
public string SortBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |