Class AddTorrentRequestBase
The base class for add torrent requests.
Inheritance
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public abstract class AddTorrentRequestBase
Properties
| Improve this Doc View SourceAutomaticTorrentManagement
Enable/disable automatic torrent management for these torrents
Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AutomaticTorrentManagement { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
This value is ignored until API v2.2.0
Category
Category for the torrent
Declaration
public string Category { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentLayout
Torrent content layout.
Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.7.0")]
public TorrentContentLayout? ContentLayout { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TorrentContentLayout> |
Remarks
This value is ignored until API v2.7.0. Use CreateRootFolder for the previous versions.
See Also
| Improve this Doc View SourceCookie
Cookie sent to download the .torrent file
Declaration
public string Cookie { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreateRootFolder
Create the root folder.
Declaration
[ApiLevel(ApiLevel.V1)]
[Deprecated("2.7.0")]
public bool? CreateRootFolder { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
This value is ignored starting from API v2.7.0. Use ContentLayout for the API v2.7.0 and newer.
See Also
| Improve this Doc View SourceDownloadFolder
Download folder
Declaration
public string DownloadFolder { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DownloadLimit
Set torrent download speed limit
Declaration
public int? DownloadLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
FirstLastPiecePrioritized
Prioritize download of first and last pieces
Declaration
public bool FirstLastPiecePrioritized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Paused
Add torrents in the paused state.
Declaration
public bool Paused { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RatioLimit
Set torrent share ratio limit
Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.8.1")]
public double? RatioLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Remarks
This value is ignored until API v2.8.1
Rename
Rename torrent
Declaration
public string Rename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SeedingTimeLimit
Set torrent seeding time limit.
Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.8.1")]
public TimeSpan? SeedingTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
Remarks
This value is ignored until API v2.8.1
SequentialDownload
Enable sequential download
Declaration
public bool SequentialDownload { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SkipHashChecking
Skip hash checking.
Declaration
public bool SkipHashChecking { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Tags
Tags for the torrent
Declaration
[ApiLevel(ApiLevel.V2, MinVersion = "2.6.2")]
public IEnumerable<string> Tags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Remarks
This value is ignored until API v2.6.2
UploadLimit
Set torrent upload speed limit
Declaration
public int? UploadLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |