C# Class MonoLibUsb.Profile.MonoUsbProfile

Representing a USB device that can be opened and used by Libusb-1.0.
Afficher le fichier Open project: arvydas/BlinkStickDotNet Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Closes the internal MonoUsbProfileHandle.

Equals ( MonoUsbProfile other ) : bool

Compares a MonoUsbProfile with this one.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

OpenDeviceHandle ( ) : MonoUsbDeviceHandle

Convenience function to open the device handle this profile handle represents.

operator ( ) : bool

true if the MonoUsbProfile types are equal.

MonoUsbProfile types are considered equal they have the same BusNumber and DeviceAddress.

Private Methods

Méthode Description
GetDeviceDescriptor ( MonoUsbDeviceDescriptor &monoUsbDeviceDescriptor ) : MonoUsbError
MonoUsbProfile ( MonoUsbProfileHandle monoUSBProfileHandle ) : LibUsbDotNet

Method Details

Close() public méthode

Closes the internal MonoUsbProfileHandle.
public Close ( ) : void
Résultat void

Equals() public méthode

Compares a MonoUsbProfile with this one.
public Equals ( MonoUsbProfile other ) : bool
other MonoUsbProfile The other .
Résultat bool

Equals() public méthode

Determines whether the specified T:System.Object is equal to the current T:System.Object.
The parameter is null.
public Equals ( object obj ) : bool
obj object The to compare with the current .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

OpenDeviceHandle() public méthode

Convenience function to open the device handle this profile handle represents.
public OpenDeviceHandle ( ) : MonoUsbDeviceHandle
Résultat MonoUsbDeviceHandle

operator() public static méthode

true if the MonoUsbProfile types are equal.
MonoUsbProfile types are considered equal they have the same BusNumber and DeviceAddress.
public static operator ( ) : bool
Résultat bool