Opens a connection to a device. If the Open method is called on an open connection this call is ignored. When a handle to the connection is no longer needed, call Close() to free up system resources.

Namespace:  ZSDK_API.Comm
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
void Open()
Visual Basic (Declaration)
Sub Open

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.ZebraPrinterConnectionExceptionIf the connection cannot be established.
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf the connection cannot be opened.

See Also