How to check if COM port exist before opening connection in Visual C# -
i need check if selected com port exist before conecting (it gives error) i'm using visual studio express 2013 c#. or, there way hide error?
thanks.. ~richard
i'd use system.io.ports.serialport.getportnames - returns array of valid serial port names can opened.
Comments
Post a Comment