uTorrentNotifier.WebUIAPI.StartAll C# (CSharp) 메소드

StartAll() 공개 메소드

public StartAll ( ) : void
리턴 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());
        }