Reputation: 49
I need to read a log file that is currently in use in order to monitor it for changes in length. I’d like to find the length of the log file when I click a button then when the length increases I’d like to know this and scan each line after the increase in length. The line count will be displayed in a label so I can see the line count change.
Tried using ReadAllLines however this wasn’t sufficient as the ‘application is currently in use’.
Upvotes: 1
Views: 69