Click or drag to resize

DiscoveryUtilGetDiscoveryDataMap 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.1869
Syntax
public static Dictionary<string, string> GetDiscoveryDataMap(
	Connection connection
)

Parameters

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

Return Value

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