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


how list of open file handles process id in c#?

i'm interested in digging down , getting file names well.

looking programmatic equivalent of process explorer does.

most require interop.

considering adding bounty on this, implementation nasty complicated.

ouch going hard managed code.

there sample on codeproject

most of stuff can done in interop, need driver filename cause lives in kernel's address space. process explorer embeds driver in resources. getting hooked c# , supporting 64bit 32, going major headache.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -