Given a Process (Process ID, whatnot), is it possible to establish what files are currently in use / locked by that process?
I've looked all over but I can't find a good example of this. A lot of talk about internal windows APIs (getNth something or other) immediately followed by dire warnings that you shouldn't use those. Fine. But then what SHOULD you use?
Please, a simple example in VB.NET, if you don't mind. C# at a push, but preferably VB.NET
Thank you kindly.