Click or drag to resize

PrinterUtilGetPortStatus Method

Retrieves a list of currently open tcp ports on the printer.

Namespace: Zebra.Sdk.Printer
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public static List<TcpPortStatus> GetPortStatus(
	string connectionString
)

Parameters

connectionString  String
The connection string.

Return Value

ListTcpPortStatus
The port status.
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
NotALinkOsPrinterExceptionThis feature is only available on Link-OS™ printers.
Remarks
See ConnectionBuilder for the format of connectionString.
See Also