CPU的序列号

可以取CPU的序列号。stringcpuInfo=;//cpu序列号ManagementC
强烈推介IDEA2020.2破解激活,IntelliJ IDEA 注册码,2020.2 IDEA 激活码

可以取CPU的序列号。

string cpuInfo = "";//cpu序列号

ManagementClass cimobject = new

ManagementClass("Win32_Processor");

ManagementObjectCollection moc = cimobject.GetInstances();

foreach(ManagementObject mo in moc)

{

cpuInfo = mo.Properties["ProcessorId"].Value.ToString();

Response.Write(cpuInfo);

}

本文来源21aspnet,由架构君转载发布,观点不代表Java架构师必看的立场,转载请标明来源出处:https://javajgs.com/archives/2490

发表评论