由一个进程所打开的文件列表?文件列表、进程

2023-09-06 14:16:45 作者:此男子沒心沒肺。

我刚开始了与C#。我设法让正在运行的进程,并得到一个特定的进程ID列表。谁可以告诉我怎么去是由一个给定的进程ID打开的文件列表?

I am just starting off with C#. I managed to get a list of running processes and getting a particular process ID. Can someone tell me how to get a list of files that are opened by a given process ID?

推荐答案

在这里见http://stackoverflow.com/questions/177146/how-do-i-get-the-list-of-open-file-handles-by-process-in-c.我不认为这会很容易!

See here http://stackoverflow.com/questions/177146/how-do-i-get-the-list-of-open-file-handles-by-process-in-c. I don't think it will be easy!