Files Watcher

  • Thread starter Thread starter Cyril Vi?ville
  • Start date Start date
C

Cyril Vi?ville

Hello everybody,

I need help. I search to make a function that verify file content
(each time a file of the system is opened, created, changed) BEFORE
another process modify it.

It's a school's project so please if you can help me ...

Thx for your help
 
Hi,

I think that the FileSystemWatcher will not work here, as it works AFTER
the modification was performed.
You need something to intercept the system call before they happen, I think
that you will have to P/Invoke some API function, but I have no idea which
one :(

Hope this help,
 
Not possible using managed code, your only option is to write a File system
driver using the Device Driver Development kit.

Willy.
 
Willy Denoyette said:
Not possible using managed code, your only option is to write a File system
driver using the Device Driver Development kit.

Willy.

As i said in my previous post I don't have time so i won't program
that plugin. REALLY THX
 
Back
Top