I am developing a Windows Form Application using Visual
Studio.NET using the C# language. The application will
run on a "standard" PC that is running Windows XP. The PC
has a USB hub with two device connectors.
I need to be able to detect when a keyboard and/or mouse
is connected/disconnected to/from the USB ports.
How can I do this? Are there system events for this?
the code can be in C or vb.net too