How to get handles opened by the current process?
I wanna get all handles (particularly files) opened by an OS process. I can get the HandleCount property of 'Process' object but don't know how to access those handles from .NET classes. I guess i have to use P/Invoke to access win32 APIs where kind of EnumHandles() function has to be used. I need a code example in this connection or a link where such an example could be found.
Thanx in advance.