SerialPortChannel.Implicit Operator
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.SerialPort.dll (version 7.0.9147)
Implicit(SerialPort to SerialPortChannel)
Converts SerialPort to Serial
Declaration
public static implicit operator SerialPortChannel(SerialPort port)
Parameters
Type | Name | Description |
---|---|---|
Serial |
port | SerialPort to convert. |
Returns
Type | Description |
---|---|
Serial |
New instance of Serial |