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.
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).