Will calling a File.Exist put a lock on a file?

Posted by yaya7 on Stack Overflow See other posts from Stack Overflow or by yaya7
Published on 2009-02-17T17:21:57Z Indexed on 2010/06/01 13:33 UTC
Read the original article Hit count: 156

Filed under:
|
|
|

Hi,

If I am trying to delete a file, but at the same time another process is performing a File.Exists(...) on the same file, will that potentially lock the file and cause my process to fail?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET