LibUsbDotNet/LibUsbDotNet/LibUsb/UsbDevice.Device.cs
/// <summary>
/// Get the the parent from the specified device.
/// </summary>
/// <returns>
/// The device parent or <see langword="null"/> if not available
/// </returns>
Get the the parent from the specified device.
Get the the parent from the specified device .
public UsbDevice GetParent()
        {
            var parent = NativeMethods.GetParent(this.device);
            if (parent == Device.Zero)
            {
                return null;
            }
            else
            {
                return new UsbDevice(parent);
            }
        }
public UsbDevice GetParent ( ) { var parent = NativeMethods . GetParent ( this . device ) ; if ( parent == Device . Zero ) { return null ; } else { return new UsbDevice ( parent ) ; } }
Get the the parent from the specified device.
Get the the parent from the specified device .
The device parent or  if not available
The device parent or if not available