Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

Following link[^] might be helpful.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900