Cryptolens/cryptolens-dotnet

Add a method to detect if the application runs in a virtual environment

artemlos opened this issue · 1 comments

The idea is to use a syscall (on Windows), as described here: https://superuser.com/questions/806209/is-there-any-way-to-identify-if-my-server-is-hyperv-vm-or-a-physical-machine

This data should also be accessible through System.Management.

Hyper-V
Manufacturer = Microsoft Corporation
Product = Virtual Machine

Citrix

Virtualbox

VMware
Manufacturer/product can contain NONE, virtual or vmware

Support for Hyper-V was added in #50 .