I want my program to determine if a file is in use before it starts writing to it, reporting this to the user in a user-friendly way. I understand that I can catch the exception that will be thrown, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results