-
Dec 9th, 2017, 07:23 PM
#1
Thread Starter
Lively Member
[RESOLVED] Fake serial port clashing with my program
Hi All
Basically I have a program that looks at all the serial ports and attempts to check whats there.
Lenovo did an update on my PC and i have a new com port appear which isn't a com port.
Is there a way i can check device name so i can look for it and exclude it
Thanks
-
Dec 10th, 2017, 11:49 PM
#2
Thread Starter
Lively Member
Re: Fake serial port clashing with my program
Update:
I just made it ignore COM3. Just hope this doesn't impact in the future.
-
Dec 11th, 2017, 09:11 AM
#3
Re: [RESOLVED] Fake serial port clashing with my program
Seems odd that one would have gotten added with the same hardware setup. Those are usually just USB ports that can act as COM ports as not many PCs come with real serial ports anymore.
System.IO.Ports.SerialPort.GetPortNames will return an array of serial port names for the current computer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|