T
Tomppa
Win CE 5.0 CF 2.0
I'm wondering if there is a better way to determine if a dive has been
attached or removed from the system.
I ASSUME that all drives follow the following naming convention
\Hard Disk\
\Hard Disk2\
\Hard Disk3\
And so on.
My approach is to use a timer that checks for new or removed drives, say
every 5 seconds or so.
If a drive is connected or removed I raise an event with an enum Connected
or Disconnected and the drive name.
Is there a built in approach to doing this?
I'm wondering if there is a better way to determine if a dive has been
attached or removed from the system.
I ASSUME that all drives follow the following naming convention
\Hard Disk\
\Hard Disk2\
\Hard Disk3\
And so on.
My approach is to use a timer that checks for new or removed drives, say
every 5 seconds or so.
If a drive is connected or removed I raise an event with an enum Connected
or Disconnected and the drive name.
Is there a built in approach to doing this?