guys ASAP ITS URGENT !! i need program for transfering files from pc to pc or pc to mobile . Any kind of language will do . and i need code as less as possible
string fileToSendToDevice = @"C:\Text.txt";
OpenNETCF.Desktop.Communication.RAPI rApi = new OpenNETCF.Desktop.Communication.RAPI();
if (!rApi.DevicePresent) return; // no active sync
if (!rApi.Connected) rApi.Connect();
if (!File.Exists(fileToSendToDevice)) return; // file not found
rApi.CopyFileToDevice(fileToSendToDevice,
Path.Combine(@"\My Documents\", Path.GetFileName(fileToSendToDevice)));