private static HyperV.ReturnCodes GetHyperVStatus() { Logger.Info("Checking Hyper-V in system"); int num = HyperV.IsHyperVEnabled(); Logger.Info("IsHyperVEnabled: {0}", (object)num); return((HyperV.ReturnCodes)num); }
private void SetValues() { this.HyperVStatus = HyperV.GetHyperVStatus(); }