【问题标题】:Monitor a process for actions applied on a file [closed]监视对文件应用的操作的过程[关闭]
【发布时间】:2012-10-23 07:47:13
【问题描述】:

我想监视 Windows 中的进程以检查它对特定文件执行的操作,包括重命名或加密它。我想为这些操作生成事件。

【问题讨论】:

  • 欢迎来到 StackOverflow!要在此处获得积极响应,请向我们展示您迄今为止所做的尝试。
  • 您要生成什么样的事件,您使用哪些工具?

标签: windows file process


【解决方案1】:

监控文件比监控进程更容易。看看 FileSystemWatcher 类。 http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx

【讨论】:

  • FileSystemWatcher 的粒度很差。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-10-02
  • 2022-01-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多