protected void Write(OutputReport oOutRep)
 {
     try
     {
         m_oFile.Write(oOutRep.Buffer, 0, oOutRep.BufferLength);
     }
     catch (IOException)
     {
         throw new HidDeviceException("Could not write to the device: too short to previous write or device was removed.");
     }
     catch (Exception exx)
     {
         Console.WriteLine(exx.ToString());
     }
 }
 protected void Write(OutputReport oOutRep)
 {
     try
     {
         m_oFile.Write(oOutRep.Buffer, 0, oOutRep.BufferLength);
     }
     catch (IOException)
     {
         throw new HidDeviceException("Could not write to the device: too short to previous write or device was removed.");
     }
     catch(Exception exx)
     {
         Console.WriteLine(exx.ToString());
     }
 }