get

abstract fun get(): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine.

Return

List of serial ports


abstract fun get(productId: Int, vendorId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided vendor and product ID.

Return

List of serial ports

Parameters

productId

Product ID of the serial port we want to retrieve

vendorId

Vendor ID of the serial port we want to retrieve