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
I found a working example of listing file handles with names in C# here...
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/ac990847-6d04-4ae0-aafe-8355bbc3f769
Scroll down to the last thread and follow the link there. And be forewarned, once you download the code, the comments are in French. Just so happens I'm taking French, so I can make sense of most of it.