Exemplo n.º 1
0
 public void QueueUptimeCheckIn()
 {
     _uptimeTimer = new Timer((e) =>
     {
         using (var httpClient = new HttpClient())
         {
             Logging.LogInfo("Adding to Uptime.");
             _statisticsManager.AddUptimeMinutes();
             Logging.LogInfo("Uptime Update Complete.");
         }
     }, null, 0, 60000);
 }