fix: corrected lowercasing on computercheck name

This commit is contained in:
Notselwyn 2023-04-14 21:22:53 +02:00
parent efb3c8056a
commit e4e0f7c16b

View file

@ -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");