Is there a service available to monitor file locking?

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I've heard that you could program a service to Manage File
folders, etc.

My problem is that I have to monitor files in a folder and
when locks are released from them by users, move them to
another folder.

I heard from a colleague that Microsoft had a class that
could do something similar, and it ran like a Service.

Can anybody think of a way to handle this?
 
See the FileSystemWatcher class. You can wrap the class in a Windows
service, with automatic startup, restart on failure, etc.
 
I've heard that you could program a service to Manage File
folders, etc.

My problem is that I have to monitor files in a folder and
when locks are released from them by users, move them to
another folder.

I heard from a colleague that Microsoft had a class that
could do something similar, and it ran like a Service.

Can anybody think of a way to handle this?

The closest thing I can think of is the FileSystemWatcher class in
System.IO. But, I'm not sure if it will accomplish what your asking.
You can look it up and see though.
 
Back
Top