I need to read a text file twice that I have downloaded. The first time I read the file, I use a ReadLine loop until the line read is = null. How do I reset the TextReader back to the beginning of the inputstream so I can read the file a second time?
Edit: I found that by just reinitiatizing the same inputstream using TextReader1.Initialize(Job.GetInputStream) I could read the inputstream from the beginning again.
Edit: I found that by just reinitiatizing the same inputstream using TextReader1.Initialize(Job.GetInputStream) I could read the inputstream from the beginning again.
Last edited: