开发者

Is it possible to identify what process is changing a file with FileSystemWatcher?

Is it possible to use the FileSyst开发者_运维技巧emWatcher to find the PID or process name that is changing a file?


Nope, you need a file system filter driver to track changes with such details.


Negative. The only information you will have is the data contained in the FileSystemEventArgs class, documented here.

This means you only get the type of change that was made, as well as the path to the file that was changed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜