HidSharp icon indicating copy to clipboard operation
HidSharp copied to clipboard

How can i read data async from buffer ?

Open orcunor opened this issue 3 years ago • 1 comments

How can I read the data from the buffer with asynchronously? I'm trying to make a simple win form app. I can read and write synchronously, but with which function or how can I do asynchronous reading with HidSharp ? Can anybody help me

orcunor avatar May 16 '21 08:05 orcunor

Please check HidSharp.Test/Program.cs, I guess the THREAD_POOL_RECEIVED_EVENT_APPROACH will get you closest to an async apach.

benedekkupper avatar May 16 '21 09:05 benedekkupper