Click or drag to resize
SerialPort Constructor
Creates a new Serial Port

Namespace: SerialPortNET
Assembly: SerialPortNET (in SerialPortNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public SerialPort(
	string portName,
	int baudRate,
	Parity parity,
	byte dataBits,
	StopBits stopBits
)

Parameters

portName
Type: SystemString
Name of the port (COM1, ...)
baudRate
Type: SystemInt32
Baud rate (9600, 115200, ...)
parity
Type: SerialPortNETParity
Parity
dataBits
Type: SystemByte
Number of data bits (7, 8, ...)
stopBits
Type: SerialPortNETStopBits
Stop bits
See Also