LibUsbDotNet/LibUsbDotNet/LibUsb/UsbDevice.DeviceHandle.cs
/// <summary>
/// Throws a <see cref="UsbException"/> if the device is not open.
/// </summary>
Throws a  if the device is not open.
Throws a if the device is not open .
protected void EnsureOpen()
        {
            if (!this.IsOpen)
            {
                throw new UsbException("The device has not been opened. You need to call Open() first.");
            }
        }
protected void EnsureOpen ( ) { if ( ! this . IsOpen ) { throw new UsbException ( " " ) ; } }
Throws a  if the device is not open.
Throws a if the device is not open .