Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获得 Perfmon 在(例如:Count)中看到的一些 NCache 信息,但直接使用 C#。请问有人有这方面的代码吗?
你看过文档System.Diagnostics.PerformanceCounter吗?我希望他们能给你一个合理的起点。
System.Diagnostics.PerformanceCounter