资料夹观察者 [英] folder watcher

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

问题描述

我构建了一个应用程序,该应用程序监视文件夹并捕获文件夹中的所有活动,例如剪切,删除,创建文件,文件夹等.

我的查询是我需要添加其他功能,例如-

1)检索访问此文件夹的用户的IP地址.
2)即使用户复制文件或文件夹,也需要显示操作.

我无法执行此操作,因为.net的文件系统监视程序类中没有copy属性.

谁能指导我实现上述功能.
谢谢!

I built an application that monitors a folder and captures any activity in the folder like cut,delete, creation of files, folders, etc.

My query is I need to add additional functionalities like -

1) Retrieve the ip address of the user accessing this folder.
2) The need to display the action even if the user copies a file or folder.

I''m not able to do this as copy attribute is not present in the file system watcher class of .net.

Can anybody guide me on achieving the above functionalities.
Thanks!

推荐答案

google非常适合搜索问题的答案

1.正如您未说的那样,您正在开发哪种类型的应用程序,我已经假设您要使用基于Web的解决方案

ip地址示例

文件副本
google is great for searching for the answers to your questions

1. as you didn''t say what type of application you are developing i have assumed your on about a web based solution

ip address examples

file copy


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

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