Question Getting a list of file handles

Crazy

Member
Joined
Oct 3, 2008
Messages
5
Programming Experience
1-3
I have found myself in a situation where I need to get a list of all the file handles.

The situation is as follows. I need to delete/replace a certain file. The file is always in use by different 3rd party applications.
So I need a way to get all the file handles and the applications that use it. That way I can ask the user to close those applications first, and replace the file.

It comes down to what you sometimes see in installers, a list of programs you ask the user to close.

I don't have any idea on how to do this, I need to do it in vb.net or c#

All help is appreciated
 
Back
Top