Skip to main content

detect

Function detect 

Source
pub fn detect(flags: Option<Flagset>) -> bool
Expand description

Returns true when the current environment is detected as a virtual machine.

Pass None to run all applicable techniques, or supply a custom Flagset to restrict which techniques are used.