Click here to Skip to main content
Sign Up to vote bad
good
See more: C#4.0
i connected Pen drive to my system. Now i want to know which port it is connecting through c# coding. because by default some system provides 20 ports and some system support up to 65,000 ports.
Posted 3 Feb '13 - 18:32
sai sagar1.6K

Comments
Sergey Alexandrovich Kryukov - 4 Feb '13 - 0:39
The question it total gibberish, cannot be answered. —SA

1 solution

Here is a VB Script that uses WMI - http://collectns.blogspot.in/2011/11/vbscript-for-detecting-usb-serial-com.html[^].
You can convert this to C#.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,376
1 OriginalGriff 6,571
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid