C#: Monitoring copied or moved files with FileSystemWatcher

后端 未结 4 1373
醉梦人生
醉梦人生 2021-02-02 03:17

I have come across several \"solutions\" here and across the web but none seem to fit the bill.

What I am looking to do is have an app monitor a folder for new files (ei

4条回答
  •  你的背包
    2021-02-02 03:50

    You would need to track closing of the file after it's creation and I doubt it's possible with FileSystemWatcher. If you don't find a solution with FileSystemWatcher, take a look at our CallbackFilter product, which lets you track all operations in real-time.

提交回复
热议问题