Enumerating File Handles in C#

前端 未结 4 1918
耶瑟儿~
耶瑟儿~ 2021-01-18 03:24

I would like to know whether it is possible to enumerate file handles in c#, maybe using Win32API. This is easily done for window and process handles, but it seems that it

4条回答
  •  后悔当初
    2021-01-18 04:12

    You can call sysinternal's Handle and parse the result, or write a file system driver (could be a multi-human-year effort and can't be done in C#)

提交回复
热议问题