DotNetSerialPort

DotNetSerialPort.Read Method (Int32, Int32)

Reads data from the input buffer

public byte[] Read(
   int size,
   int timeout
);

Parameters

size
An Int32 indicating number of bytes to be read
timeout
Specifies timeout in milliseconds

Return Value

Returns an array of bytes read

Remarks

See Also

DotNetSerialPort Class | SWBOX Namespace | DotNetSerialPort.Read Overload List