Skip to content
/ lhw-go Public

Example cgo-free Go binary that embeds LibreHardwareMonitorLib to read temperature sensors on Windows.

License

Notifications You must be signed in to change notification settings

henrygd/lhw-go

Repository files navigation

Example cgo-free single binary that embeds LibreHardwareMonitorLib to read temperature sensors on Windows. It uses a C# wrapper to interact with LHM / .NET.

Build the executable with just. This should work on any OS with Go and dotnet installed.

just

Unfortunately it does need to be run as administrator to access the data, like Libre Hardware Monitor itself.

.\get_temps.exe

About

Example cgo-free Go binary that embeds LibreHardwareMonitorLib to read temperature sensors on Windows.

Resources

License

Stars

Watchers

Forks