I have a c# gui app that will open any exe and monitor that exe for external file access.

i have to collect the open/close/read/write stats of the files, the exe accesses.

does wmi or any c# class provide the way to do it?

rgds
satish s

Not that I'm aware of, so if you've looked at the WMI documentation on the MSDN and not found one, I guess there isn't one.

In this case, you would need to write a System Filter driver to monitor IO requests.

You will need to do this in C, not C#

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.