码迷,mamicode.com
首页 > 其他好文 > 详细

ManagementEventWatcher and System.Management

时间:2016-09-26 00:59:48      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:vs2015


using System.Management;

Is not enough. 

You need to add the reference to System.Management too. 


In VS2015, go to the Solution Explorer, and expand your project, right click on the References folder/option and select Add References from the context menu. Now select the "Assemblies" tab , and select the "Framework",  and then enable the "System.Management" from the list and click OK.


本文出自 “MichaelMichael” 博客,请务必保留此出处http://michael999999.blog.51cto.com/10752903/1856450

ManagementEventWatcher and System.Management

标签:vs2015

原文地址:http://michael999999.blog.51cto.com/10752903/1856450

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!