Public void VisitHardware(IHardware hardware)įoreach (IHardware subHardware in hardware.SubHardware) subHardware.Accept(this) Public void VisitComputer(IComputer computer) Copy the following code to your Visual Studio program. The OpenHardwareMonitorLib.dll is in the OpenHardwareMonitor folder.ģ. Right Click on References>Add Reference>Browse (See the picture above) To use the code, you need to include a copy of OpenHardwareMonitorLib.dll in your project, add a reference to it. Step 2: Install Visual Studio 2017ĭownload Visual Studio 2017 Step 3 : Create A New Visual Studio ProjectĬlick File > New Project > Visual C# > Console Application > OK (See the picture above)Ģ. exe file first to see your hardware information, CPU useage, etc. Step 1: Download Open hardware monitorĭownload the lastest Open hard waremonitor software here. The Open Hardware Monitor is a free open source software that monitors temperature sensors, fan speeds, voltages, load and clock speeds of a computer. (The WMI way is not working for me, but I will still post the code and you can have a try) If you have any problems on getting the CPU temperature, feel free to post your questions here! In this post, I will show you one way that can definitely work on everyone's computer by Openhardwaremonitor. I find many solutions but most of them don't work for me. The most difficult part of this project is getting the CPU temperature. These days, I'm trying to make a smart fan cooling system for my baby Lattepanda. I brought one 2/32g LattePanda and used as a normal computer, only $89!!! Due to its powerful hardware and small size, heat dissipation inevitably becomes a problem ( More details about LattePanda, click here). It features an upgraded Z8350 CPU (up to 1.92GHz) and a more stable RTL8723BS Wi-Fi chip (2.4G 802.11n). The LattePanda is a full Windows 10 compatible single board computer based on the Intel Cherry Trail CPU.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |