DotNetSerialPort.Read Method (Int32, Int32)
Reads data from the input buffer
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
- This function can only be used when the port is open.
See Also
DotNetSerialPort Class | SWBOX Namespace | DotNetSerialPort.Read Overload List