I\'d like to be able to detect when a USB key is inserted. Furthermore, if I can distinguish between USB key A and USB key B then I am in even better shape. Lastly, if I can u
You need to retrieve the key's Hardware ID.
I don't see how to subscribe to the plugged-in event, but you could always have the user click a button too.