uTorrentNotifier.WebUIAPI.StartAll C# (CSharp) Method

StartAll() public method

public StartAll ( ) : void
return void
        public void StartAll()
        {
            this.Torrents.Current = this.ListTorrents();
            List<KeyValuePair<string, string>> hashes = new List<KeyValuePair<string, string>>();
            foreach (TorrentFile f in this.Torrents.Current)
            {
                hashes.Add(new KeyValuePair<string, string>(WebUIAPI.Property.Hash, f.Hash));
            }

            this.Send(Action.Start, hashes.ToArray());
        }