public static void sendFileToDevice(string path, string file, string newName) { using (RemoteDeviceManager r = new RemoteDeviceManager()) { using (RemoteDevice device = r.Devices.FirstConnectedDevice) { string myDocs = device.GetFolderPath(SpecialFolder.MyDocuments); string deviceFile = myDocs + "\\" + newName; string localFile = path + "\\" + file; RemoteFile.CopyFileToDevice(device, localFile, deviceFile, true); } } }