高级文件观察器 [英] advanced file watcher

查看:72
本文介绍了高级文件观察器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我有问题
如果使用新文件创建,我将使用文件系统监视程序来获取消息(例如,我需要监视路径"C:\",但是我需要查找什么文件或进程来创建此文件?
换句话说,如果病毒创建了auto.inf文件,我需要系统文件监视程序在创建自动运行文件时向我发送消息,该文件是什么文件?
我知道我可以通过使用驱动程序来实现,但问题是我可以在vb.net中做到吗?
当文件尝试创建自动运行文件时,它像杀毒软件一样会检测到并提供用户消息
谢谢

解决方案

继续进行WMI并订阅事件,您可以从下面的文章中对此有所了解:
目录监视器服务控件SSIS包执行 [ ^ ]

Hi All
I have question
I use file system watcher to get message if new file create (for example I need to monitor path " C:\ " but I need to find what is the file or process create this file?
in other words if virus create auto run.inf file I need system file watcher give me message when auto run file created and what is the file create this file ?
I know I can make it by using driver but the question can I do it in vb.net
like antivirus when file try create auto run file it detect it and give the user message
thank you

解决方案

Go ahead with WMI and subscribe for events, you can have some idea on this from the article below:
Directory Monitor Service controls SSIS Package Execution[^]


这篇关于高级文件观察器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆