I need to write a simple(?) component that will monitor the changes being made to a text file and notify them to registered listeners.
I have a process which writes data to a text file in the following way:
I want to monitor the file and get notified when certain lines are written (e.g. Start/End).
A quick google search yielded the FileSystemWatcher class but I don't think it fits since it only monitors file system events and not file content, but I could be wrong as I'm fairly new to C#/.NET.
Thanks for any help.