I am creating an C# application which is provide me all connected USB device of my computer and for that I need the class of ManagementObjectSearcher class but why VS2010 is not recognize this class.
I am creating an C# application which is provide me all connected USB device of my computer and for that I need the class of ManagementObjectSearcher class but why VS2010 is not recognize this class.
You need to add reference of System.Management Manually through VS 2010.