Answer the question
In order to leave comments, you need to log in
What is the best way to handle the USB connection event?
Good day to everyone, I want to ask people experienced in designing, there is a task to monitor the connection of USB devices. I subscribed to the connection notification and I get a line with the device name \\.\USBSTOR... Actually, the question itself is what to do next? I can directly perform the necessary actions when receiving an event, or I can add a line to the queue and process it in a separate thread, or process it through Event. Lots of options, how would you do it? How will it be better, more scalable, etc. the duration of the procedure is not very long
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question