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

PauseAll() 공개 메소드

public PauseAll ( ) : void
리턴 void
        public void PauseAll()
        {
            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.Pause, hashes.ToArray());
        }