From e4e0f7c16be471b24a1d68585e0eb2ed6fea2c02 Mon Sep 17 00:00:00 2001 From: Notselwyn <68616630+Notselwyn@users.noreply.github.com> Date: Fri, 14 Apr 2023 21:22:53 +0200 Subject: [PATCH] fix: corrected lowercasing on `computercheck` name --- SafeExamBrowser.SystemComponents/VirtualMachineDetector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SafeExamBrowser.SystemComponents/VirtualMachineDetector.cs b/SafeExamBrowser.SystemComponents/VirtualMachineDetector.cs index 5294d825..69a9e3fe 100644 --- a/SafeExamBrowser.SystemComponents/VirtualMachineDetector.cs +++ b/SafeExamBrowser.SystemComponents/VirtualMachineDetector.cs @@ -152,7 +152,7 @@ namespace SafeExamBrowser.SystemComponents var cacheHostname = ((string) cacheKey.GetValue("DeviceName")).ToLower(); // windows timeline syncs with other hosts that a user has logged into: check hostname to only check this device - if (cacheHostname == currHostname) + if (currHostname.ToLower() == cacheHostname) { var biosInfo = ""; var manufacturer = (string) cacheKey.GetValue("DeviceMake");