Writes data.Length bytes from the specified byte array to the connection. The connection must be
open before this method is called. If Write is called when a connection is closed, a
ZebraPrinterConnectionException is thrown.
Namespace:
ZSDK_API.CommAssembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
Parameters
- data
- Type: array<
System..::.Byte
>[]()[]
The data.
Exceptions
Exception | Condition |
---|---|
ZSDK_API.ApiException..::.ZebraPrinterConnectionException | If an I/O error occurs. |
ZSDK_API.ApiException..::.ZebraGeneralException | If the write could not be performed. |