資源簡介
獲取CPU硬件ID
代碼片段和文件信息
echo?getCui();;
function?getCui()?{
$uuid?=?‘‘;
????exec(“wmic?CPU?get?ProcessorID“?$result);
????return?$result[1];
$bbb?=?array(“ProcessorId“);
$ccc?=?new?COM(“Wbemscripting.SWbemLocator“);
$ddd?=?$ccc->ConnectServer();
$eee?=?array();
$fff?=?$ddd->Get(“Win32_Processor“);
$ggg?=?$fff->Properties_;
$hhh?=?$fff->Instances_();
foreach($
評論
共有 條評論