CD ROM日志文件 [英] CD ROM log file

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

问题描述

早上好.

我希望有人能帮助我.我正在寻找一些代码来记录CD-ROM的使用情况.插入CD时,复制文件的时间以及复制的位置.

这有可能吗?

提前感谢.

Good day.

I''m hoping someone can help me. I''m looking for some code to log CD-ROM usage. When a CD gets inserted, when files get copied and where it gets copied to.

Is this at all possible?

Thanx in advance.

推荐答案

以下链接 [ ^ ]可能会有所帮助.
Following link[^] might be helpful.


这将需要编写NTFS文件系统扩展名.因为它们是相同的操作,所以没有事件告诉您何时复制文件和正常读取文件.您将获得对CD的所有访问权限,而不仅仅是复制的内容.

用C#编写类似的东西非常困难.我最好选择C/C ++,因为您将编写驱动程序级的东西,并且所有支持都是用C编写的.
This would require writing a NTFS File System Extension. There is no event that tells you when a file is being copied vs read normally since they are the same operation. You''d be loggin ALL access to the CD instead of just what is copied.

Writing something like this would be very difficult to do in C#. I better candidate would be C/C++ since you''ll be writing driver level stuff and that support is all writen in C.


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

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