Watching for Removeable Drives
-
Hi All, I'm trying to find some info on watching for new drives being plugged into the system. The normal kind of drives like Firewire, USB drives, flash sticks, eSata etc. The FileSystemWatcher seems to only support watching an existing drive. Would WMI be the place to go for this? Cheers,
Jammer My Blog | Article(s)
-
Hi All, I'm trying to find some info on watching for new drives being plugged into the system. The normal kind of drives like Firewire, USB drives, flash sticks, eSata etc. The FileSystemWatcher seems to only support watching an existing drive. Would WMI be the place to go for this? Cheers,
Jammer My Blog | Article(s)
search CodeProject for WM_DEVICECHANGE :)
Luc Pattyn [Forum Guidelines] [My Articles]
Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in
-
Hi All, I'm trying to find some info on watching for new drives being plugged into the system. The normal kind of drives like Firewire, USB drives, flash sticks, eSata etc. The FileSystemWatcher seems to only support watching an existing drive. Would WMI be the place to go for this? Cheers,
Jammer My Blog | Article(s)
Check this: Detecting Hardware Insertion and/or Removal[^]
"Legacy code" often differs from its suggested alternative by actually working and scaling. —Bjarne Stroustrup