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

后端 未结 7 1589
春和景丽
春和景丽 2020-11-22 13:01

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 program

7条回答
  •  半阙折子戏
    2020-11-22 13:57

    Perhaps using command line tool:

    OpenedFilesView v1.50 - View opened/locked files in your system (sharing violation issues)

    http://www.nirsoft.net/utils/opened_files_view.html

提交回复
热议问题