Enumerating File Handles in C#

Posted by user293392 on Stack Overflow See other posts from Stack Overflow or by user293392
Published on 2010-04-09T23:16:23Z Indexed on 2010/04/09 23:23 UTC
Read the original article Hit count: 390

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about win32

Related posts about winapi