private static void OnTimer(object sender, ElapsedEventArgs e)
 {
     try
     {
         var monitor = new Framework.Core.InternetMonitor();
         monitor.CheckProcesses();
     }
     catch (Exception ex)
     {
         log.Error(ex, "Error Checking Processes.");
     }
 }
Exemple #2
0
        private static void OnTimer(object sender, ElapsedEventArgs e)
        {
            var monitor = new Framework.Core.InternetMonitor();

            monitor.CheckProcesses();
        }