Get the number of the bus that a device is connected to.

C# | Visual Basic | Visual C++ |
public static byte GetBusNumber( MonoUsbProfileHandle deviceProfileHandle )
Public Shared Function GetBusNumber ( _ deviceProfileHandle As MonoUsbProfileHandle _ ) As Byte
public: static unsigned char GetBusNumber( [InAttribute] MonoUsbProfileHandle^ deviceProfileHandle )

- deviceProfileHandle (MonoUsbProfileHandle)
- A device profile handle.

The bus number.

