钩子文件操作 [英] Hook file operations
本文介绍了钩子文件操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Windows中挂接文件操作,例如复制,移动,重命名和删除C#.net?
How to hook file operations such copying, moving,renaming and deleting in windows C# .net ?
推荐答案
您可以使用FileSystemWatcher
监听文件系统的变化;
http://msdn.microsoft.com/en- us / library / system.io.filesystemwatcher.aspx [ ^ ]
希望这会有所帮助,
Fredrik
You can use theFileSystemWatcher
to listen to file system changes;
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx[^]
Hope this helps,
Fredrik
这篇关于钩子文件操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文