Check If File Is In Use By Other Instances of Executable Run
问题 Before I go into too detail, my program is written in Visual Studio 2010 using C# .Net 4.0. I wrote a program that will generate separate log files for each run. The log file is named after the time, and accurate up at millisecond (for example, 20130726103042375.log ). The program will also generate a master log file for the day if it has not already exist (for example, *20130726_Master.log*) At the end of each run, I want to append the log file to a master log file. Is there a way to check