G
Guest
I try to open a log file that is logging infomation by another process:
StreamReader sr = File.OpenText(filePath);
I got the exception message:
The process cannot access the file 'c:\temp\myLog.txt' because it is being
used by another process.
How can I open, read and process the file in C#?
Thanks
MCH
StreamReader sr = File.OpenText(filePath);
I got the exception message:
The process cannot access the file 'c:\temp\myLog.txt' because it is being
used by another process.
How can I open, read and process the file in C#?
Thanks
MCH