mikeobrien/HidLibrary — Issue #16: Missing "else" statement in WriteData function
Author: jvdub22
Created: 2012-01-11 22:49:26+00:00
State: open

the try-catch block starting at line 347 of HidDevice.cs should be enclosed inside an else block of the if (_deviceWriteMode == DeviceMode.Overlapped) construct at line 312. otherwise both WriteFile functions are executed regardless of the overlapped mode.