Class AddTorrentFilesRequest
Request to add new torrents using torrent files.
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 AddTorrentFilesRequest : AddTorrentRequestBase
Constructors
| Improve this Doc View SourceAddTorrentFilesRequest()
Initializes a new instance of the AddTorrentFilesRequest class.
Declaration
public AddTorrentFilesRequest()
AddTorrentFilesRequest(IEnumerable<String>)
Initializes a new instance of the AddTorrentFilesRequest class.
Declaration
public AddTorrentFilesRequest(IEnumerable<string> torrentFiles)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | torrentFiles | The torrent files' paths. |
AddTorrentFilesRequest(String)
Initializes a new instance of the AddTorrentFilesRequest class.
Declaration
public AddTorrentFilesRequest(string torrentFile)
Parameters
Type | Name | Description |
---|---|---|
System.String | torrentFile | The torrent file's path. |
Properties
| Improve this Doc View SourceTorrentFiles
The list of torrent files' paths to add.
Declaration
public ICollection<string> TorrentFiles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |