Beispiel #1
0
 private void dispatcherTimer_Tick(object sender, System.Timers.ElapsedEventArgs e)
 {
     if (_torrentSession.alerts_empty())
     {
         _torrentSession.post_torrent_updates();
         _torrentSession.post_dht_stats();
     }
     if (IsTsunamiEnabled)
     {
         using (Core.SessionStatus ss = _torrentSession.status())
         {
             SessionStatistic.Update(ss);
         }
     }
 }