|
|
@@ -65,9 +65,6 @@ float load = SystemInfo.CpuLoad;// 获取CPU占用率
|
|
|
long physicalMemory = SystemInfo.PhysicalMemory;// 获取物理内存总数
|
|
|
long memoryAvailable = SystemInfo.MemoryAvailable;// 获取物理内存可用率
|
|
|
double freePhysicalMemory = SystemInfo.GetFreePhysicalMemory();// 获取可用物理内存
|
|
|
-Dictionary<string, string> diskFree = SystemInfo.DiskFree();// 获取磁盘每个分区可用空间
|
|
|
-Dictionary<string, string> diskTotalSpace = SystemInfo.DiskTotalSpace();// 获取磁盘每个分区总大小
|
|
|
-Dictionary<string, double> diskUsage = SystemInfo.DiskUsage();// 获取磁盘每个分区使用率
|
|
|
double temperature = SystemInfo.GetCPUTemperature();// 获取CPU温度
|
|
|
int cpuCount = SystemInfo.GetCpuCount();// 获取CPU核心数
|
|
|
IList<string> ipAddress = SystemInfo.GetIPAddress();// 获取本机所有IP地址
|