Does the File.Copy(source, dest) lock the file while copying? While one file is being copied in one thread, can second thread start copying the same file to a DIFFERENT dest?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Multiple thread can access the file in read only mode simultaneously while one thread is copying the file. Multiple copy operation can be performed simultaneously for the same file.