RunningOnHyperVDescription Determines if the current process is running on a Microsoft Hyper-V virtual machine. C#bool RunningOnHyperV () Return TypeDescriptionboolreturns true if the current process is running on a Microsoft Hyper-V virtual machine