Click or drag to resize

UsbConnection(String, Int32, Int32) Constructor

Initializes a new instance of the UsbConnection class.

Namespace: Zebra.Sdk.Comm
Assembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax
public UsbConnection(
	string symbolicName,
	int maxTimeoutForRead,
	int timeToWaitForMoreData
)

Parameters

symbolicName  String
The USB symbolic name for the device returned by the UsbDiscoverer.GetZebraUsbPrinters() member function.
maxTimeoutForRead  Int32
Maximum time to wait for read data
timeToWaitForMoreData  Int32
Maximum time to wait for more data after intial data is sent from printer
Exceptions
ExceptionCondition
ConnectionExceptionIf the system is not running the Windows operating system or if the device cannot be found.
Remarks
This constructor will attempt a connection to the printer specified in the symbolic name.
See Also