Beispiel #1
0
 private bool?GetHyperVRunning()
 {
     return(!SafeNativeMethods.IsProcessorFeaturePresent(ProcessorFeature.PF_VIRT_FIRMWARE_ENABLED));
 }
Beispiel #2
0
 public static bool?GetRunning()
 {
     return(!SafeNativeMethods.IsProcessorFeaturePresent(ProcessorFeature.PF_VIRT_FIRMWARE_ENABLED));
 }