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.13.898
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