/// <summary> /// Force starts a torrent /// </summary> /// <param name="Torrent">The torrent to force start</param> public void TorrentForceStart(Torrent Torrent) { if (_token == null) { return; } try { ServiceClient.ForceStartTorrent(Torrent.Hash, _token); GetTorrentsAndLabels(true); } catch (System.ServiceModel.ProtocolException e) { // Token possibly expired, get new token. Trace.TraceError(e.Message + e.StackTrace); GetToken(); } }
/// <summary> /// Force starts a torrent /// </summary> /// <param name="Torrent">The torrent to force start</param> public void TorrentForceStart(Torrent Torrent) { ServiceClient.ForceStartTorrent(Torrent.Hash, _token); GetTorrentsAndLabels(true); }