ZylSerialPort.NET

SerialPort.SendByteArray Method 

Sends a byte array to the serial port.

[Visual Basic]
Public Function SendByteArray( _
   ByVal Byte[] As Byte() _
) As Integer
[C#]
public int SendByteArray(
   Byte[] btArray
);

Parameters

Byte[]
The byte array to be sent.

Return Value

The count of sent bytes.

See Also

SerialPort Class | ZylSerialPort Namespace