This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A simple log file monitor class for .NET | |
Uses a threaded timer to check for changes in the file, if the file length has changed then the unread | |
section of the file is read and parsed into lines before being passed back to the event handler. | |
Note, because the class uses the threaded timer callbacks on the event hander WILL be made form a | |
different thread, keep this in mind when using the class. |