Click or drag to resize

UsbDeviceCollection Class

The collection of matching USB devices that are currently attached.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelReadOnlyCollectionUsbDevice
    WinUsbNetUsbDeviceCollection

Namespace:  WinUsbNet
Assembly:  WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class UsbDeviceCollection : ReadOnlyCollection<UsbDevice>

The UsbDeviceCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ReadOnlyCollectionT instance.
(Inherited from ReadOnlyCollectionUsbDevice.)
Public propertyItem
Gets the element at the specified index.
(Inherited from ReadOnlyCollectionUsbDevice.)
Top
Methods
  NameDescription
Public methodContains
Determines whether an element is in the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionUsbDevice.)
Public methodCopyTo
Copies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollectionUsbDevice.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionUsbDevice.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionUsbDevice.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This collection contains one UsbDevice for each USB device that is attached and whose WinUSB GUID matches the GUID of the parent WinUsbManager.
See Also