vmdetect

package
v0.0.0-...-d4b2c28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check() (bool, string, string)

Check attempts to figure out if the current system is a virtual machine.

If a VM is detected the Vendor and why it was detected is also returned, these values will be empty if the machine is not detected as being virtualised.

func IsVM

func IsVM() bool

IsVM attempts to figure out if the current system is a virtual machine.

Calls Check but only returns a boolean value, the vendor and detection explanation are ignored

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL