In C# how can I copy a file from a camera to my local drive? The camera is connected via USB and it does not show up as a standard drive.
I am using a Sony Handycam HDR-CX160. I want to write a small c# windowsform app that copies the video files from the device.
So how does my app copy files from the device connected via usb? It does not show up as a drive but it shows up in windows explorer. When I search drives in C# it is not in the list?
Thanks!
======== UPDATE =======
I am going to try and ask this question a different way and hopefully it will get reopened.
Using C# I need to copy a file from a camera to my local hard drive. If I new the path this line of code would do it.
string cameraPath = ?????
string sourcePath = Path.Combine(cameraPath, @"\Video\2012-1-1.WMV");
string targetPath = @"C:\Video\2012-1-1.WMV";
System.IO.File.Copy(sourceFile, destFile, true);
So how can I resolve the cameraPath? Is there another way to do this all together?