monitoring files in-use with Process

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello,
I need to know if a file is being used by some application.
Using System.Diagnostics.Process I cannot obtain all the archives opened in
applications mdi (for example Word).
Since I can do it?
 
Hi Carlos,

If you want to monitor the current file is handled by which process, the
Handle tool from sysinternals web site is appropriate for the current issue:
http://www.sysinternals.com/Utilities/Handle.html

If you want to implement some functionalities like this tool supplies, you
have to use some undocument API and use the NT Handle Table. Unfortunately,
this is not supported.

Regards,

Ryan
 

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

Back
Top