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: 2.14.1869
Syntax
public static List<TcpPortStatus> GetPortStatus(
	string connectionString
)

Parameters

connectionString
Type: SystemString
The connection string.

Return Value

Type: 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