John,
There's an article on CodeProject which might just do what you want:
http://www.codeproject.com/dotnet/de...umemonitor.asp
Please read the comments carefully, there's one saying how to enable monitoring
of other devices but DVD/CD.
Alexander Shirshov
> Hello,
> Does anybody know how to detect if an mass-storage device has been
> added to
> the system ? I am making a program that will (should) detect when a
> CompactFlash memory card has been inserted into a PC (and is
> identified as a
> mass-storage device). However i cant fugure out how to do it using c#.
> regards
> john