You must implement Monitor chip driver by C language. If mother-board
manufacturers implement WMI in their drivers, you can get CPU temperature
from WMI. So far as I know; no mother-board manufacturers implement WMI, so
WMI always returns the same value.
First, you need know what monitor chip on your mother-board. You may look
your mother-board. If you see LM75, LM78, Winbond ...etc trademark on your
chip, download the datasheet of your chip according to your number of chip.
The datasheet will show you how to access the chip.
This web site contains some source code about CPU temperature. The author
implemented monitor chip driver of W83697HF and W83627EHF which have Hardware
Monitor function.
http://temperature.myweb.hinet.net/index_en.htm The source code maybe help
you.