I know this has already been asked... but my purpose is a bit different from the others. I don't want to process files, I just want to show a list of files, so that I can see whether the files in the list were locked by any application. This is just for the purpose of monitoring, and determining if the specific files are being held for too long by an application.
Would I have to try opening the files on each UI update iteration? Or is there a proper call to do that, that would require less resources?
I want to use as few resources as possible on this task. Otherwise, I'd just try opening the file... it could be, but I feel greedy when talking about performance, and also a like to know what tools I have to do things.
Knowing the name of the locker application is a bonus, but if possible, it is desirable.