how to prevent or terminate times up screen from windows family safety windows service c#

111

how to prevent or terminate time's up screen from windows family safety windows service c# -

private void PreventTimesUpScreen() {
  System.Timers.Timer tm = new System.Timers.Timer();
  tm.Elapsed += PreventTick;
  tm.Start();
}
private void PreventTick(object sender, System.Timers.ElapsedEventArgs e) {
  foreach (Process p in Process.GetProcessesByName("WpcMon")) {
    p.Kill();
  }
}

Comments

Submit
0 Comments