开发者

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

开发者 https://www.devze.com 2023-04-01 20:34 出处:网络
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. Negati

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

精彩评论

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