I´m trying to copy a shared file to local copy:
File.Copy("\\sharedmachine\directory\file.exe", "\\localmachine\directory\file.exe", true);
The source file exists but if another user/machine is opened directory in the "Windows Explorer" for example, this operation lock and during the copy i´m getting a System.IO.FileNotFoundException
.
There are some way to copy file even if someone open the directory in another machine?
Thanks