From e2e5d5ade8256f22cf310e97f8960b41dc58ac0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Thu, 22 Dec 2022 17:21:11 +0100 Subject: [PATCH] SEBWIN-633: Fixed bug where ease of access configuration monitoring would trigger even though the service component is active. --- SafeExamBrowser.Client/ClientController.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SafeExamBrowser.Client/ClientController.cs b/SafeExamBrowser.Client/ClientController.cs index 840eac27..db2c3cea 100644 --- a/SafeExamBrowser.Client/ClientController.cs +++ b/SafeExamBrowser.Client/ClientController.cs @@ -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()