Merge pull request #5 from diegoara96/master

qemu detection added
This commit is contained in:
Damian Büchel 2020-04-28 19:00:26 +02:00 committed by GitHub
commit a6aad36a05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ namespace SafeExamBrowser.SystemComponents
isVirtualMachine |= manufacturer.Contains("vmware");
isVirtualMachine |= manufacturer.Contains("parallels software");
isVirtualMachine |= model.Contains("virtualbox");
isVirtualMachine |= manufacturer.Contains("qemu");
logger.Debug($"Computer '{systemInfo.Name}' appears to {(isVirtualMachine ? "" : "not ")}be a virtual machine.");