Closed crayzeewulf closed 7 years ago
Commented by crayzeewulf on 2008-10-07 03:47 UTC I am not familiar with Mono but I am assuming that the above method returns a list of all available serial ports on the system. I have not needed such a function in any of my applications of libserial but I realize that it will be useful in applications that let users select a serial port via a GUI, for example. I would like to keep this feature request open but I think this will have to wait till after the release of version 0.6 (due end of this month).
SerialPort
class now contains a GetAvailableSerialPorts()
method to query the list of available serial ports. Currently, this only works on Linux. See this.
Reported by wit3k on 2008-10-06 17:07 UTC I think about something like System.IO.Ports.SerialPort.GetPortNames() in Mono. But I think that funtion outputting array (or for the best STL`s vector) is not enought. There should be inner vector that user would not be forced to create his own.