Snippets tagged file handling

  • Poll a file until it is quiet

    One of the problems with using FileSystemWatcher to detect new files and process them is that it tells you when the file starts being created, not when it finishes. Use this little function to poll the file until it stops being written to.

    7 people like this

    Posted: 12 years ago by Kit Eason