UsbConnection Constructor (String)
|
Initializes a new instance of the UsbConnection class.
Namespace:
Zebra.Sdk.Comm
Assembly:
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 2.15.2634
Syntax public UsbConnection(
string symbolicName
)
Public Sub New (
symbolicName As String
)
public:
UsbConnection(
String^ symbolicName
)
Parameters
- symbolicName
- Type: SystemString
The USB symbolic name for the device returned by the UsbDiscoverer.GetZebraUsbPrinters() member function.
Exceptions Exception | Condition |
---|
ConnectionException | If 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