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

C#
0

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();
  }
}
Posted by: Guest on October-14-2021

Code answers related to "how to prevent or terminate time's up screen from windows family safety windows service c#"

C# Answers by Framework

Browse Popular Code Answers by Language