VirtualMachineValidationValidate Method |
Namespace: com.softwarekey.Client.Licensing
![]() |
---|
This method runs WMI queries on Windows guests, which can take a while to run on some computers. If you run this (Validate) method once, and retain the reference to the VirtualMachineValidation object, you may then use the IsVirtual and Type properties as needed to avoid making further, unnecessary WMI queries. |
Failure to detect a virtual machine guest environment does not guarantee that the application is not running in one. This function simply makes an effort to detect the most common hypervisors while avoiding the possibility of running into false-positives. The guest environments this can detect include: