Home All Groups Group Topic Archive Search About

Drive/FS change detection

Author
20 Nov 2007 8:00 PM
Matthew Hughes
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

Author
21 Nov 2007 3:37 PM
ssg31415926
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

AddThis Social Bookmark Button