Access iPad pictures from C#

c#, ipad, path

Solution

There are several issues to overcome.

To access the device, you might need the name (a well known NT Namespace device name).

On my computer, I can find my iPhone at \.\IPOD0\ for example.

However, the iPhone/Pad/Pod isn't using a standard file system when you browse it. It's using DCF (if you look at the "Internal Storage Properties" using Windows Explorer, you'll see that). That would be the Design rule for Camera File System.

On Windows, as these devices are reporting as DCF file systems, you might investigate the WIA and an example (in C++) like this.

Alas, that's not a FileSystemWatcher though. Unfortunately, the FileSystemWatcher (and other native Windows file operations) do not work with devices that respond as DCF file systems.

Problem

I can access pictures on my iPad via "Computer\Apple iPad\Internal Storage\DCIM\860OKMZO", but this is not a path that C# recognises if I'd want to start a FileSystemWatcher. What would be the way to access these files? I presumed that if Explorer understands the path, so would C#.

Original source