Click or drag to resize

DiscoveryUtil.GetDiscoveryDataMap Method

Reads the discovery packet from the provided connection and returns a discovery data map

Namespace:  Zebra.Sdk.Printer.Discovery
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public static Dictionary<string, string> GetDiscoveryDataMap(
	Connection connection
)

Parameters

connection
Type: Zebra.Sdk.Comm.Connection
A Connection to a printer

Return Value

Type: Dictionary<String, String>
A discovery data map representative of the provided packet
Exceptions
ExceptionCondition
ConnectionExceptionIf an I/O error occurs.
DiscoveryPacketDecodeExceptionIf provided a malformed discovery packet
See Also