Determining the path to storage cards..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Heya

I have the need to identify when a PocketPC has an SD or CF card inserted in the device. Is there a way to do this programmatically without having to search the various file paths that the device manufacturers choose to link the cards? In other words, is there a way of getting the path to the storage card(s) without hardcoding a search for \SD Card, \CF Card, \Storage Card, etc

~~K
 
You can enumerate all top level folders which have the Temporary attribute.
See Alex Feinman's code sample here:-
http://www.opennetcf.org/Forums/topic.asp?TOPIC_ID=432

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Kevin Z Grey said:
Heya,

I have the need to identify when a PocketPC has an SD or CF card
inserted in the device. Is there a way to do this programmatically without
having to search the various file paths that the device manufacturers choose
to link the cards? In other words, is there a way of getting the path to
the storage card(s) without hardcoding a search for \SD Card, \CF Card,
\Storage Card, etc?
 
Back
Top