Files system events

B

Buddy Ackerman

Windows Explorer windows can update autmatically when a a file is deleted
from another application, I want to be able to respond to similar events.
What file system events are there and how do I respond to them in .NET?


--Buddy
 
A

Andrea De Nardis

Hi, I know the answer only on Win32 programming, try using
ReadDirectoryChangesW (see documentation on MSDN).
Hope this help.
Regards,
Andrea
 
G

Gary Chanson

Buddy Ackerman said:
Windows Explorer windows can update autmatically when a a file is deleted
from another application, I want to be able to respond to similar events.
What file system events are there and how do I respond to them in .NET?

Take a look at FindFirstChangeNotification.

--

-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
(e-mail address removed)
 
B

Buddy Ackerman

Is there a way to determine the user that made the change?


--Buddy



Gary Chanson said:
Buddy Ackerman said:
Windows Explorer windows can update autmatically when a a file is deleted
from another application, I want to be able to respond to similar events.
What file system events are there and how do I respond to them in .NET?

Take a look at FindFirstChangeNotification.

--

-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top