How to test if a file is currently being written to.

Posted by willsan on Stack Overflow See other posts from Stack Overflow or by willsan
Published on 2010-03-25T13:16:09Z Indexed on 2010/03/25 13:23 UTC
Read the original article Hit count: 245

Filed under:
|
|

I have an application that must check a folder and read any files that are copied into it. How do I test if a file in that folder is currently being written to? I only want to read files that have had all their data written to them and are closed.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about system.io