Click here to Skip to main content
15,884,062 members
Articles / General Programming / Tools

A C# implementation of the Tail -f command

Rate me:
Please Sign up or sign in to vote.
3.73/5 (3 votes)
19 Dec 2010CPOL 20.2K   2  
Unless I'm misreading your code on CodePlex, it looks like your utility loads in the entire file every time it changes. That might be fine for tiny files, but it would be a huge performance hit for larger ones (a few megs, for example).Why not do it a bit more simply?using (FileStream str...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
Ian is a life-long computer programmer who, immediately after earning his B.S. in C.S., was snatched up by a certain Wall Street firm that would explode spectacularly a mere five years later. After fourteen years working for hedge funds, he finally escaped to a certain global tech company that shall remain nameless...

On an unrelated note, he's also a published Sci-Fi/Fantasy author.

Comments and Discussions