|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Drive/FS change detectionHey.
I'm recently developing an application which has to deal with SD cards. My problem boils down to SD detection, basically I've two use cases: 1) somebody inserts a new SD card into an existing Drive in the system 2) Insertion of a new drive/cardreader with a SD card already in. I'd Like to suscribe to both events. Is there a managed way to: Suscribe to drive arrival events? Is it feasible to suscribe to FS changes on all removable drives to detect the SD insertion into an existing drive? Thanks in advance. Matthew Hughes I don't have one on my PC to check but is this something that WMI can
help with? On 20 Nov, 20:00, Matthew Hughes <tute***@gmail.com> wrote: Show quote > Hey. > I'm recently developing an application which has to deal with > SD cards. My problem boils down to SD detection, basically I've two > use cases: > 1) somebody inserts a new SD card into an existing Drive in the > system > 2) Insertion of a new drive/cardreader with a SD card already in. > > I'd Like to suscribe to both events. > Is there a managed way to: Suscribe to drive arrival events? > Is it feasible to suscribe to FS changes on all removable drives to > detect the SD insertion into an existing drive? > > Thanks in advance. > Matthew Hughes |
|||||||||||||||||||||||