- public interface IUTorrentProxy
- {
- int GetVersion(UTorrentSettings settings);
- Dictionary<string, string> GetConfig(UTorrentSettings settings);
- UTorrentResponse GetTorrents(string cacheID, UTorrentSettings settings);
-
- void AddTorrentFromUrl(string torrentUrl, UTorrentSettings settings);
- void AddTorrentFromFile(string fileName, byte[] fileContent, UTorrentSettings settings);
- void SetTorrentSeedingConfiguration(string hash, TorrentSeedConfiguration seedConfiguration, UTorrentSettings settings);
-
- void RemoveTorrent(string hash, bool removeData, UTorrentSettings settings);
- void SetTorrentLabel(string hash, string label, UTorrentSettings settings);
- void MoveTorrentToTopInQueue(string hash, UTorrentSettings settings);
- void SetState(string hash, UTorrentState state, UTorrentSettings settings);
- }