How to identify the hardware details of a Linux/Mac machine using .Net Core
问题 How to identify the hardware details of a Linux/Mac machine using.Net Core. For windows machines, we can use System.Management and WMI Query. So is there any similar way to identify the hardware details (like RAM ,Processor,Monitor ,CAM etc) of Linux and Mac machines. For windows, I'm using: ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from Win32_Processor"); 回答1: I have done a workaround to get hardware info as per Platform. For windows I have used old way of