How do I get the list of open file handles by process in C#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zahidmahmood
    New Member
    • Jan 2012
    • 2

    How do I get the list of open file handles by process in C#?

    How do I get the list of open file handles by process id in C#?

    I'm interested in digging down and getting the file names as well.

    Looking for the programmatic equivalent of what process explorer does.

    Most likely this will require interop.
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    Why are you asking a C# question in the VB.NET forum?

    Comment

    Working...