DotNetSerialPort

DotNetSerialPort.Open Method (String, Int32, Int32, Parity)

Opens the port.

public bool Open(
   string port,
   int baudRate,
   int byteSize,
   Parity parity
);

Parameters

port
A string indicating port name
baudRate
An int value specifying the baudrate.
byteSize
An int value specifying the bytesize.(can only be 5,6,7,8)
parity
A DotNetSerialPort.Parity value

Return Value

Returns true on success

Remarks

See Also

DotNetSerialPort Class | SWBOX Namespace | DotNetSerialPort.Open Overload List