Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
artemlos opened this issue Mar 12, 2020 · 1 comment
Open

Comments

@artemlos
Copy link
Contributor

artemlos commented Mar 12, 2020

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

artemlos added a commit that referenced this issue Mar 14, 2020
@artemlos artemlos mentioned this issue Mar 14, 2020
artemlos added a commit that referenced this issue Mar 15, 2020
* Start on #49

* Update docs

* Update Helpers.cs
@artemlos
Copy link
Contributor Author

Support for Hyper-V was added in #50 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant