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
 
Back
Top