I've read of some WMI solutions which are able to read the temperature of the CPU. I've tried this and it doesn't appear to work for Windows XP Embedded running on an Intel Atom based board.
Is there a library or some other solution out there which would work?