嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
C# fw4.0 获取操作系统CPU使用率和内存使用率(兼容Win32位和64位系统)
代码来自网络,经过本人修改,C 代码保持作者原始写法,自己添加了新方法,调用更方便,这里谢谢曾经的一个C 大神的帮助,没有他的帮忙 ,没有那么快实现需求所要求的功能,fw版本可以更换,网上有工具,希望能帮助...
.
├── SystemInforTest
│ ├── Release
│ │ ├── cpuState.dll
│ │ ├── cpuState.exp
│ │ ├── cpuState.lib
│ │ ├── cpuState.pdb
│ │ ├── memState.dll
│ │ ├── memState.exp
│ │ ├── memState.lib
│ │ └── memState.pdb
│ ├── SystemInfor
│ │ ├── CPUInfo.cs
│ │ ├── CommonCode.cs
│ │ ├── Lib
│ │ │ ├── cpuState.dll
│ │ │ └── memState.dll
│ │ ├── MemoryInfor.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── SystemInfor.csproj
│ │ ├── SystemInfor.csproj.old
│ │ ├── SystemInfor.csproj.user
│ │ ├── SystemInfor.csproj.user.old
│ │ ├── SystemVer
│ │ │ ├── SystemVer32.cs
│ │ │ └── SystemVer64.cs
│ │ ├── VersionInfor.cs
│ │ ├── bin
│ │ │ ├── Debug
│ │ │ └── Release
│ │ │ ├── SystemInfor.dll
│ │ │ ├── SystemInfor.pdb
│ │ │ └── cpuState.dll
│ │ └── obj
│ │ ├── Debug
│ │ │ └── TempPE
│ │ └── Release
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── Refactor
│ │ │ └── SystemInfor.dll
│ │ ├── SystemInfor.csproj.FileListAbsolute.txt
│ │ ├── SystemInfor.dll
│ │ ├── SystemInfor.pdb
│ │ └── TempPE
│ ├── SystemInforTest
│ │ ├── MainForm.Designer.cs
│ │ ├── MainForm.cs
│ │ ├── MainForm.resx
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── SystemInforTest.csproj
│ │ ├── SystemInforTest.csproj.old
│ │ ├── SystemInforTest.csproj.user
│ │ ├── SystemInforTest.csproj.user.old
│ │ ├── app.config
│ │ ├── bin
│ │ │ ├── Debug
│ │ │ └── Release
│ │ │ ├── SystemInfor.dll
│ │ │ ├── SystemInfor.pdb
│ │ │ ├── SystemInforTest.exe
│ │ │ ├── SystemInforTest.exe.config
│ │ │ ├── SystemInforTest.pdb
│ │ │ ├── SystemInforTest.vshost.exe
│ │ │ ├── cpuState.dll
│ │ │ ├── cpuState.exp
│ │ │ ├── cpuState.lib
│ │ │ ├── cpuState.pdb
│ │ │ └── memState.dll
│ │ └── obj
│ │ ├── Debug
│ │ │ └── TempPE
│ │ └── Release
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── Refactor
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── SystemInforTest.MainForm.resources
│ │ ├── SystemInforTest.Properties.Resources.resources
│ │ ├── SystemInforTest.csproj.FileListAbsolute.txt
│ │ ├── SystemInforTest.csproj.GenerateResource.Cache
│ │ ├── SystemInforTest.csprojResolveAssemblyReference.cache
│ │ ├── SystemInforTest.exe
│ │ ├── SystemInforTest.pdb
│ │ └── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ ├── SystemInforTest.ncb
│ ├── SystemInforTest.sdf
│ ├── SystemInforTest.sln
│ ├── SystemInforTest.sln.old
│ ├── SystemInforTest.suo
│ ├── SystemInforTest.suo.old
│ ├── UpgradeLog.XML
│ ├── cpuState
│ │ ├── Debug
│ │ │ ├── BuildLog.htm
│ │ │ ├── cpuState.dll.embed.manifest
│ │ │ ├── cpuState.dll.embed.manifest.res
│ │ │ ├── cpuState.dll.intermediate.manifest
│ │ │ ├── cpuState.obj
│ │ │ ├── cpuState.pch
│ │ │ ├── dllmain.obj
│ │ │ ├── mt.dep
│ │ │ ├── stdafx.obj
│ │ │ ├── vc90.idb
│ │ │ └── vc90.pdb
│ │ ├── ReadMe.txt
│ │ ├── Release
│ │ │ ├── BuildLog.htm
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── cl.command.1.tlog
│ │ │ ├── cpuState.Build.CppClean.log
│ │ │ ├── cpuState.dll.intermediate.manifest
│ │ │ ├── cpuState.lastbuildstate
│ │ │ ├── cpuState.log
│ │ │ ├── cpuState.obj
│ │ │ ├── cpuState.pch
│ │ │ ├── cpuState.write.1.tlog
│ │ │ ├── dllmain.obj
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ ├── link.write.1.tlog
│ │ │ ├── mt.command.1.tlog
│ │ │ ├── mt.dep
│ │ │ ├── mt.read.1.tlog
│ │ │ ├── mt.write.1.tlog
│ │ │ ├── stdafx.obj
│ │ │ └── vc100.pdb
│ │ ├── cpuState.cpp
│ │ ├── cpuState.h
│ │ ├── cpuState.vcproj
│ │ ├── cpuState.vcproj.HL.Administrator.user
│ │ ├── cpuState.vcproj.Tilics-PC.Tilics.user
│ │ ├── cpuState.vcxproj
│ │ ├── cpuState.vcxproj.filters
│ │ ├── cpuState.vcxproj.user
│ │ ├── dllmain.cpp
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ └── targetver.h
│ └── memState
│ ├── Debug
│ │ ├── BuildLog.htm
│ │ ├── dllmain.obj
│ │ ├── memState.dll.embed.manifest
│ │ ├── memState.dll.embed.manifest.res
│ │ ├── memState.dll.intermediate.manifest
│ │ ├── memState.obj
│ │ ├── memState.pch
│ │ ├── mt.dep
│ │ ├── stdafx.obj
│ │ ├── vc90.idb
│ │ └── vc90.pdb
│ ├── ReadMe.txt
│ ├── Release
│ │ ├── BuildLog.htm
│ │ ├── CL.read.1.tlog
│ │ ├── CL.write.1.tlog
│ │ ├── cl.command.1.tlog
│ │ ├── dllmain.obj
│ │ ├── link.command.1.tlog
│ │ ├── link.read.1.tlog
│ │ ├── link.write.1.tlog
│ │ ├── memState.Build.CppClean.log
│ │ ├── memState.dll.intermediate.manifest
│ │ ├── memState.lastbuildstate
│ │ ├── memState.log
│ │ ├── memState.obj
│ │ ├── memState.pch
│ │ ├── memState.vcxprojResolveAssemblyReference.cache
│ │ ├── memState.write.1.tlog
│ │ ├── mt.command.1.tlog
│ │ ├── mt.dep
│ │ ├── mt.read.1.tlog
│ │ ├── mt.write.1.tlog
│ │ ├── stdafx.obj
│ │ └── vc100.pdb
│ ├── dllmain.cpp
│ ├── memState.cpp
│ ├── memState.h
│ ├── memState.vcproj
│ ├── memState.vcproj.HL.Administrator.user
│ ├── memState.vcproj.Tilics-PC.Tilics.user
│ ├── memState.vcxproj
│ ├── memState.vcxproj.filters
│ ├── memState.vcxproj.user
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
├── 好例子网_C#fw4.0获取系统CPU和内存使用率.rar
├── 详细开发过程.docx
└── 出错处理及相应函数介绍.docx
32 directories, 166 files