C# FileSystemWatcher Serious Problem?

前端 未结 4 1210
清歌不尽
清歌不尽 2021-01-21 03:42

I have implemented a FileSystemWatcher for a folder which resides on a NetworkStorage Device (having no O.S.).

The scenario is, we have two machine say

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-21 04:21

    Use a combination of a FileSystemWatcher and Polling

    The FileSystemWatcher will work 90% of the time, but add a poll every x minutes to catch anything it may miss...

    The value of x depends on how "realtime" you need to be

提交回复
热议问题