I'd like to check to see if a serial port even exists. I know that if it doesn't, there is an error thrown when you do a port.open

So, I would imagine that doing a simple IF port.isopen won't work?

I looked at all the methods on the class and don't see anything obvious on how to do it.

I just want to see if the hardware exists on the PC and set a boolean variable if it does when the form loads.

Thanks for the help.