摘要:
获得Cpu使用率,首先写一个类,如下:using System;using Microsoft.Win32;using System.Diagnostics;using System.Runtime.InteropServices;namespace CpuUsage{ /// <summary> /// SysInfo 的摘要说明。 /// </summary> public class SystemInfo { #region CpuUsage类 /// <summary> /// Defines an abstrac... 阅读全文