I'm trying to use the code from this post: get com port number of an USB adapter
Then I got this message: why?
You have to add a reference to System.Management
Manually through VS 2010.
Right Click on Project, Add References
Select the Assemblies Tab and Search for System.Management . Then Add Reference.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.