With so many giveaways and prizes going on, it is obvious that the XMG Giveaway Virus is still rife and virulent. I seem to have caught a second dose of it. I am giving away 250 XMG to anybody that can help out with some program code and provide the utility I require, or 100 XMG to anybody who can provide a link to a web page that gives me exactly what I am looking for. Believe me, I have tried.
What I need is a standalone executable (does not matter if it needs a few dlls) that reads the CPU temperature and returns it as a number (any units, Kelvins, deciKelvins, whatever) if the data is available, or an error if it is not supported on that CPU. Sounds simple, but it isn't.
I know about using wmic but the command is supported on only a very limited range of CPUs - later Intels, so it seems. The actual data is available from registers on the CPU which may differ from CPU model to model, so it is a bit of a git really. I do not need, or want, a gui utility like many of those available. Something much simpler - just the numbers will do. Ideally I would like to run the utility from a command line and direct the output to a file e.g. GetCPUtemp.exe >temperature.txt but maybe I am asking for too much?
Any takers?
No really ... there's some XMG in it for you ...
