简体   繁体   中英

how to access mobile device (windows mobile 6.0 or higher) drive using C# in Winforms

I would like to transfer a file from developer computer to mobile device which is a handheld terminal. Also, I have an SD card which can be used as removable device. When I plugged in that SD Card into PC's slot, it's used as removable device and easily I can copy any file into SD Card using C# DriveInfo class. But, when I plugged in the handheld terminal with USB cable to PC, I would like to reach folders and files in mobile device and want to do same things like copying and deleting any file I wanted...

The problem is that I can not reach mobile device because it's not seen as removable device when I used DriveInfo class of System.IO namespace so can not use that option.

Is there anyone around who came across the same problem or has knowledge for any solution, guys?

好的,我几年前就这样做了,所以起初我不记得是怎么回事...但请记住:)您可以使用RAPI或更高版本的RAPI2 (该版本尚未亲自使用)库来实现。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM