In C # how to copy a file from a camera to a local drive? The camera is connected via USB, and it does not appear as a standard drive.
I am using Sony Handycam HDR-CX160. I want to write a small C # windowsform application that copies video files from a device.
So, how do my applications copy files from a device connected via usb? It does not appear as a disk, but appears in Windows Explorer. When I look for drives in C #, aren't they listed?
Thanks!
======== UPDATE ========
I'm going to try to ask this question differently and hopefully it opens again.
Using C # I need to copy a file from the camera to a local hard drive. If I'm new, this line of code will do this.
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 enable CameraPath? Is there any other way to do this all together?
Jamey McElveen
source share