I am just starting off with C#. I managed to get a list of running processes and getting a particular process ID. Can someone tell me how to get a list of files that are opened by a given process ID?
+1
A:
See here http://stackoverflow.com/questions/177146/how-do-i-get-the-list-of-open-file-handles-by-process-in-c. I don't think it will be easy!
Martin Smith
2010-05-08 23:47:18
@Martin Smith: Thanks for the link +1. I see that handle does exactly what I want but the licensing seems a little restrictive. I was trying to design a freeware but the licensing doesn't allow redistribution even if the app is a freeware. As for the codeproject file, it doesn't seem to be working on Windows 7 for some reason...
Legend
2010-05-09 00:12:55