标签: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