Originally Posted By: booey
However, is it possible to just read the first line of the file instead of the whole thing and compare a string to that?
That IS what your code is doing. ReadLine() reads only one line at a time.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.