如何用c獲取cpu溫度,C 如何獲取電腦CPU溫度,硬碟溫度,主機板溫度,CPU轉速

2022-06-29 04:46:30 字數 1416 閱讀 5650

1樓:匿名使用者

那個 windows優化大師不是可以獲得cpu溫度麼?所以我相信c#也可以。關注。

2樓:匿名使用者

using system;

using system.runtime.interopservices;

class class1

c/f",

cputemp, fahrenheit(cputemp));

int32 mbtemp = getmbtemperature();

console.writeline("motherboard temperature:

c/f", mbtemp, fahrenheit(mbtemp));

}static double fahrenheit(int32 temperature)

********************===前提是華碩的mb,安裝有asus probe pc

3樓:匿名使用者

下個everest就可以了

4樓:匿名使用者

不能 windows沒有提供api

cpucool提供了一個dll,lz參考一下去吧

5樓:匿名使用者

哈哈,太厲害了,這個都能做到啊。bios下能看到,不知道windows能不能看到了!

c#如何獲取電腦cpu溫度,硬碟溫度,主機板溫度,cpu轉速

6樓:匿名使用者

你要去找相關的api,呼叫就好了

7樓:雙小者

下個魯大師。然後就可以啦

8樓:匿名使用者

這裡有教程

c# 獲取cpu溫度

c# 監控cpu 溫度

9樓:你虎呀你

using system;

using system.runtime.interopservices;

class class1

c/f",

cputemp, fahrenheit(cputemp));

int32 mbtemp = getmbtemperature();

console.writeline("motherboard temperature:

c/f", mbtemp, fahrenheit(mbtemp));

}static double fahrenheit(int32 temperature)

********************===前提是華碩的mb,安裝有asus probe pc

10樓:匿名使用者

一點意義也沒有。根本就不用去管它。

如何用c遠端獲取程序資訊,怎樣在c中獲取程序資訊

用一個複製或者重定向就行了。回 c 答 include include void print xs void unused the main program.int main i.怎樣在c 中獲取程序資訊 itjob老師教過用命令的方式也是很方便將結果存到變數裡呀,用一個複製或者重定向就行了。c i...

c如何獲取路徑字串的最後,c 如何獲取路徑字串的最後一個

用path物件,微軟類來庫裡 自都提供了,為什麼還要自己寫這個函式?專門處理檔案路徑的 管它存在不存在都行 string path 10.201.51.26 imageshare groupware 1004 20070524 143518.xls string filename system.io...

如何用函式顯示C列內容,如何用函式顯示C列內容

在第一個格子輸入以下 substitute b1,a1,就可以刪除a列的資料 然後你的輸出順序,需要研究一下細節 如果只是判斷 a列與c列的值是否相同 可以使用if函式 r n也可配合 條件格式 進行資料突顯 r n至於你說的 對齊 我就不明白了.先將這些數放到一個二維陣列裡,用一個迴圈,控制列不變...