File File.Copy (source, dest) blocks the file?

Does a .Copy (source, dest) file write while copying? While one file is being copied in one thread, can the second thread start copying the same file to DIFFERENT dest?

Thank,

+3
source share
3 answers

Multiple threads can access a file in read-only mode at the same time when one thread copies the file. You can perform multiple copy operations on the same file at the same time.

+3
source

Yes, you can: it is like when you copy the same file to different folders on windows.

0
source

There is no blockage, and multiple threads should be able to call it just fine.

0
source

All Articles