How detect USB device based on USB VID and PID?

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Im working on a wpf project and basically want detect if device with xxx vid and xxx pid is present on the system (connected to the computer)Somebody can helpme with some c# example code?<br/>
Baiscally need boolean value 1 or 0 if device with xxx vid and pid is present or no.<br/>
Please somebody can put some example?

NOTE> no need detect USB device insertion, just detect if present, something like search in dveices connected and check based on the VID and PId if present or no.<br/>
<br/>
Best regads.

View the full article
 
Back
Top