Home All Groups Group Topic Archive Search About

Detect Plug Unplug of a device

Author
10 Sep 2006 8:00 AM
Anoj
Hi All,

Is there any system event in .net through which it can be detected that
a USB device is attached to the computer or deattched.

If yes kindly help me with some sample code in C#?

Regards,
Anoj Kumar

Author
10 Sep 2006 10:47 AM
Herfried K. Wagner [MVP]
"Anoj" <sutradh***@gmail.com> schrieb:
> If yes kindly help me with some sample code in C#?

I am wondering why you are asking the question in a VB group then...

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>