标签: c# count perfmon
我想获得Perfmon看到的一些NCache信息(例如:Count),但直接使用C#。有人有这方面的代码吗?
答案 0 :(得分:5)
您是否查看了System.Diagnostics.PerformanceCounter的文档?我希望他们给你一个合理的起点。
System.Diagnostics.PerformanceCounter