我可以保存到从共享文件夹中删除的其他文件 [英] Can I save to another files deleted from shared folder
本文介绍了我可以保存到从共享文件夹中删除的其他文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用filesystemwatcher但我无法解决问题
解决方案
FileSystemWatcher实例在之前没有提供拦截文件事件的工具发生:你正在观看之后收到的通知。
你需要使用某种低级别的钩子拦截Windows IO操作;这是一个复杂的技术领域;看到这个有用的讨论:[ ^ ]。
I use filesystemwatcher but I can't resolve the problem
解决方案
A FileSystemWatcher instance provides no facility to intercept file events before they occur: you get the notification after the event you are watching.
You will need to use some sort of low-level "hook" to intercept Windows IO operations; that's a complex technical area; see this for a useful discussion: [^].
这篇关于我可以保存到从共享文件夹中删除的其他文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文