Example #1
0
 private void UpdateProcess()
 {
     if (Global.Configuration.detection_mode == ApplicationDetectionMode.ForegroroundApp && (currentTick >= nextProcessNameUpdate))
     {
         processMonitor.GetActiveWindowsProcessname();
         nextProcessNameUpdate = currentTick + 1000L;
     }
 }