Changed Mac detection

This commit is contained in:
diegoara96 2020-07-10 22:22:37 +02:00
parent b5a72b122c
commit a574e2f241

View file

@ -42,7 +42,7 @@ namespace SafeExamBrowser.SystemComponents
if (macAddress != null && macAddress.Count() > 2)
{
isVirtualMachine |= ((byte.Parse(macAddress[1].ToString(), NumberStyles.HexNumber) & 2) == 2 || macAddress.StartsWith("080027"));
isVirtualMachine |= (macAddress.StartsWith("525400") || macAddress.StartsWith("080027"));
}
foreach (var device in plugAndPlayDeviceIds)