FileSystemWatcher used to watch for folder/file open

后端 未结 6 1373
太阳男子
太阳男子 2020-11-30 12:06

I have browsed around but cannot find any information on what I am seeking, if there is another post that already goes over this then I apologize.

I am seeking help

6条回答
  •  無奈伤痛
    2020-11-30 12:40

    what you really need is NtQuerySystemInformation enumeration and a timer, that way you can scan the directory and see if any of the files are open. the filesystemwatcher will not give you this info

提交回复
热议问题