Is this supposed to work?
List<MediaDevices.MediaDevice> devices = MediaDevices.MediaDevice.GetDevices().ToList();
MediaDevices.MediaDevice d = devices.Single();
d.Connect();
foreach (string f in d.GetFiles("/Internal shared storage/DCIM/Camera"))
{
string filename = f.Split('\\').Last();
using(MemoryStream ms = new MemoryStream())
{
d.DownloadFile(f, ms);
It gives System.Runtime.InteropServices.COMException HResult=0x80070141 Message=The device is unreachable. (0x80070141).
Is this supposed to work?
It gives
System.Runtime.InteropServices.COMException HResult=0x80070141 Message=The device is unreachable. (0x80070141).