kirkonpolttaja
Senior Member
- Feb 6, 2010
- 1,030
- 674
I'm making a simple bot but i'm little stuck here... how can i pick string from single row from .txt file to be used (application function examples: proxy rotation, emails, or other registration info).
Also extra function that i need is that it will go row-by-row or randomize row selection.
for randomized i'v used this:
then ably string called prox for webbrowser proxy function (it works if i look at "what my ip"-google).
How can i make it so that the software goes every proxy one by one? (row by row).
somekind of iteration until "(last line == null);" and then message me "DONE!" + break();
Also extra function that i need is that it will go row-by-row or randomize row selection.
for randomized i'v used this:
Code:
string[] lines = File.ReadAllLines("proxies.txt");
Random rand = new Random();
string prox = lines[rand.Next(lines.Length)];
then ably string called prox for webbrowser proxy function (it works if i look at "what my ip"-google).
How can i make it so that the software goes every proxy one by one? (row by row).
somekind of iteration until "(last line == null);" and then message me "DONE!" + break();