Свойство | Type | Description | |
---|---|---|---|
NO_GUID | System.Guid |
Méthode | Description | |
---|---|---|
Check ( UsbDevice usbDevice ) : bool |
Dynamic predicate find function. Pass this function into any method that has a Predicate{UsbDevice} parameter. Override this member when inheriting the UsbDeviceFinder class to change/alter the matching behavior. |
|
Check ( |
Dynamic predicate find function. Pass this function into any method that has a Predicate{UsbRegistry} parameter. Override this member when inheriting the UsbDeviceFinder class to change/alter the matching behavior. |
|
GetObjectData ( |
Store this class as a binary serializtion object.
|
|
Load ( Stream deviceFinderStream ) : |
Load usb device finder properties from a binary stream.
|
|
Save ( |
Saves a UsbDeviceFinder instance to a stream.
|
|
UsbDeviceFinder ( System.Guid deviceInterfaceGuid ) : System |
Creates a UsbDeviceFinder class for locating usb devices by a unique Guid string.
|
|
UsbDeviceFinder ( int vid ) : System |
Creates a UsbDeviceFinder class for locating usb devices.
|
|
UsbDeviceFinder ( int vid, int pid ) : System |
Creates a UsbDeviceFinder class for locating usb devices vendor and product ID.
|
|
UsbDeviceFinder ( int vid, int pid, int revision ) : System |
Creates a UsbDeviceFinder class for locating usb devices by VendorID, ProuctID, and Revision code.
|
|
UsbDeviceFinder ( int vid, int pid, int revision, string serialNumber, System.Guid deviceInterfaceGuid ) : System |
Creates a UsbDeviceFinder class for locating and identifying usb devices.
|
|
UsbDeviceFinder ( int vid, int pid, string serialNumber ) : System |
Creates a UsbDeviceFinder class for locating usb devices by VendorID, ProductID, and Serial number.
|
|
UsbDeviceFinder ( string serialNumber ) : System |
Creates a UsbDeviceFinder class for locating usb devices by a serial number.
|
Méthode | Description | |
---|---|---|
UsbDeviceFinder ( ) : System |
|
|
UsbDeviceFinder ( |
Use a serialization stream to fill the UsbDeviceFinder class.
|
public Check ( UsbDevice usbDevice ) : bool | ||
usbDevice | UsbDevice | The UsbDevice to check. |
Résultat | bool |
public Check ( |
||
usbRegistry | The UsbRegistry device to check. | |
Résultat | bool |
public GetObjectData ( |
||
info | The serialization instance to populate. | |
context | ||
Résultat | void |
public static Load ( Stream deviceFinderStream ) : |
||
deviceFinderStream | Stream | The binary stream containing a
/// |
Résultat |
public static Save ( |
||
usbDeviceFinder | ||
outStream | Stream | |
Résultat | void |
public UsbDeviceFinder ( System.Guid deviceInterfaceGuid ) : System | ||
deviceInterfaceGuid | System.Guid | The unique |
Résultat | System |
protected UsbDeviceFinder ( |
||
info | ||
context | ||
Résultat | System |
public UsbDeviceFinder ( int vid ) : System | ||
vid | int | The vendor id of the usb device to find. |
Résultat | System |
public UsbDeviceFinder ( int vid, int pid ) : System | ||
vid | int | The vendor id of the usb device to find. |
pid | int | The product id of the usb device to find. |
Résultat | System |
public UsbDeviceFinder ( int vid, int pid, int revision ) : System | ||
vid | int | The vendor id of the usb device to find. |
pid | int | The product id of the usb device to find. |
revision | int | The revision number of the usb device to find. |
Résultat | System |
public UsbDeviceFinder ( int vid, int pid, int revision, string serialNumber, System.Guid deviceInterfaceGuid ) : System | ||
vid | int | The vendor id of the usb device to find, or |
pid | int | The product id of the usb device to find, or |
revision | int | The revision number of the usb device to find, or |
serialNumber | string | The serial number of the usb device to find, or null to ignore. |
deviceInterfaceGuid | System.Guid | The unique guid of the usb device to find, or |
Résultat | System |
public UsbDeviceFinder ( int vid, int pid, string serialNumber ) : System | ||
vid | int | The vendor id of the usb device to find. |
pid | int | The product id of the usb device to find. |
serialNumber | string | The serial number of the usb device to find. |
Résultat | System |
public UsbDeviceFinder ( string serialNumber ) : System | ||
serialNumber | string | The serial number of the usb device to find. |
Résultat | System |