文件监控 [英] File Monitoring
问题描述
实际上我已经开发了一个使用FileSystemWatcher函数监视文件系统的程序。但是当一个文件或文件夹处于打开状态但它实际上只检测到文件夹或文件的修改时它没有通知。但实际上我想检测谁试图打开我的
文件或文件夹,因为它受到保护。
我也尝试过使用FileSystemEventHandler函数但结果是一样的。
是否有用于检测文件夹或文件打开pr的功能如果是,请告诉我。
先谢谢。
请继续阅读 审计API 。
- pa
Actually i have developed a program for monitoring file system using FileSystemWatcher function.but it did not notify when a file or folder at open but it actually detect only a modification of folder or file.But actually i want to detect who try to open my file or folder because it is protected.
And also i have tried it by using FileSystemEventHandler function but the result is same.
is there any function for detect a folder or file opening process?if it is please tell me.
Thanks in Advance.
Read on the audit API.
- pa
这篇关于文件监控的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!