Struct UsbDevice
It represents a USB device.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public struct UsbDevice
Constructors
UsbDevice(String, String, Int32)
Creates a USB device.
Declaration
public UsbDevice(string name, string devicePath, int portNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The USB device name. |
| System.String | devicePath | The USB device path. |
| System.Int32 | portNumber | The USB port number. |
Properties
DevicePath
Gets or sets the USB device path.
Declaration
public string DevicePath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets or sets the USB device name.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PortNumber
Gets or sets the USB port number.
Declaration
public int PortNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |