Closes the connection and releases any system resources associated with the connection. If the connection is already closed then invoking this method has no effect.

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

Syntax

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

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.ZebraPrinterConnectionExceptionIf an I/O error occurs.
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf the connection cannot be closed.

See Also