Sends a directed broadcast discovery packet to the subnet specified by ipAddress.
Directed broadcasts are defined by the first three subnet octets, followed by 255, such as 192.168.2.255
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.255
  • 192.168.2.1 (last octect will be replaced with 255)
  • 192.168.2 (will append 255 for the last octect)
  • 192.168.2. (will append 255 for the last octect)

Namespace:  ZSDK_API.Discovery
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
public static DiscoveredPrinter[] DirectedBroadcast(
	string ipAddress
)
Visual Basic (Declaration)
Public Shared Function DirectedBroadcast ( _
	ipAddress As String _
) As DiscoveredPrinter()

Parameters

ipAddress
Type: System..::.String
The IP address of the subnet.

Return Value

An array of DiscoveredPrinters.

Remarks

Directed broadcasts are defined by the first three subnet octets, followed by 255, such as 192.168.2.255

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.DiscoveryExceptionIf there are issues during discovery.
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf an I/O error occurs.

See Also