C# Класс MonoLibUsb.Profile.MonoUsbProfile

Representing a USB device that can be opened and used by Libusb-1.0.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetDeviceDescriptor ( MonoUsbDeviceDescriptor &monoUsbDeviceDescriptor ) : MonoUsbError
MonoUsbProfile ( MonoUsbProfileHandle monoUSBProfileHandle ) : LibUsbDotNet

Описание методов

Close() публичный Метод

Closes the internal MonoUsbProfileHandle.
public Close ( ) : void
Результат void

Equals() публичный Метод

Compares a MonoUsbProfile with this one.
public Equals ( MonoUsbProfile other ) : bool
other MonoUsbProfile The other .
Результат bool

Equals() публичный Метод

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 .
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

OpenDeviceHandle() публичный Метод

Convenience function to open the device handle this profile handle represents.
public OpenDeviceHandle ( ) : MonoUsbDeviceHandle
Результат MonoUsbDeviceHandle

operator() публичный статический Метод

true if the MonoUsbProfile types are equal.
MonoUsbProfile types are considered equal they have the same BusNumber and DeviceAddress.
public static operator ( ) : bool
Результат bool