SEBWIN-633: Fixed bug where ease of access configuration monitoring would trigger even though the service component is active.

This commit is contained in:
Damian Büchel 2022-12-22 17:21:11 +01:00
parent 9b8d1fc3b2
commit e2e5d5ade8

View file

@ -359,7 +359,10 @@ namespace SafeExamBrowser.Client
timer.Interval = TEN_MINUTES + (new Random().NextDouble() * FIVE_MINUTES);
timer.Start();
registry.StartMonitoring(RegistryValue.MachineHive.EaseOfAccess_Key, RegistryValue.MachineHive.EaseOfAccess_Name);
if (Settings.Service.IgnoreService)
{
registry.StartMonitoring(RegistryValue.MachineHive.EaseOfAccess_Key, RegistryValue.MachineHive.EaseOfAccess_Name);
}
}
private void VerifySessionIntegrity()