PerformanceCounter.NextValue hangs on some machines

不羁的心 提交于 2019-12-01 07:16:47
crokusek

Removing printer references helped eliminate a hang on the initial

  new PerformanceCounter("Processor", "% Processor Time", "_Total").  

Now we get a fresh error message instead of hang so can trace it. From:

Answer about printer drivers

We had two similar dell laptops (one newer), both with Windows 8, MVSV 2013, and IIS Express 8. One would hang, one would not.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!