hii... i want to auto detect a serial port name in a combo box...my device should pick up its name
for ex. i'm using the
"Silicon Labs CP210x USB to UART Bridge" driver...
when i insert my serial port to the system, combo box can automatically detects name of that serial port..
is it possible???
is it possible???
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Mar 18, 2014, 7:21 AM
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.getportnames(v=vs.110).aspx
VulpesPosted Mar 18, 2014, 6:53 AM
Fortunately, there's some code in this thread:
http://stackoverflow.com/questions/4199083/detect-serial-port-insertion-removal