Problems reading large text files using uipath


#1

Currently, I’m trying to read a very large file (over 4000 pages) using Readalllines function but uipath is taking a long time (several hours) process file. Is there any other options, for me to read this file? Can it be read from disc?

Any input would be greatly appreciate it.
Thanks


#2

Try

StreamReader sr = new StreamReader(file);
string strText = sr.ReadToEnd();
sr.Close();
sr.Dispose();