//获取cpu信息 public static CPUInfo get_CPUInfo() { CPUInfo memInfor = new CPUInfo(); GetSystemInfo(ref memInfor); return(memInfor); }
public static extern void GetSystemInfo(ref CPUInfo cpuinfo);