Enumerating File Handles in C#
- by user293392
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 is not possible for file handles.
While some functionality is offered by NtQuerySystemInformation, this is being phased out and therefore it is not recommended to use such a method.