问题
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?
回答1:
Ok I done few years ago this so I couldn't remember how at first...but remembered :) You can use RAPI or even newer version RAPI2(this version haven't used personally) library to achieve that.
来源:https://stackoverflow.com/questions/25916478/how-to-access-mobile-device-windows-mobile-6-0-or-higher-drive-using-c-sharp-i