File.Copy locks source file after completion

后端 未结 2 1138
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 20:36

We are trying to copy a file from a server, down to a local machine in a .NET 2.0 application (C#), but keep having the source file unnecessarily locked. We suspect it is so

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-03 21:36

    I am not able to replicate this on our file servers.

    However, I do know Opportunistic locking is disabled since we're using PeerLock by PeerSoftware.

提交回复
热议问题