title: Why can't use ManagementObjectSearcher in VS2010 C#
body: <p>I'm trying to use the code from this post:
  <a href="https://stackoverflow.com/questions/16163773/get-com-port-number-of-an-usb-adapter">get com port number of an USB adapter</a></p>
  
  <p>Then I got this message: why?
  <img src="https://i.stack.imgur.com/4VkEM.jpg" alt="enter image description here"></p>