I convert proxy list from listbox to List(List<string> etc.)
Could someone show me resolve to that problem or some pseudocode so I can write my own?
Here is how I start 10" bots":
Task[] check= new Task[10];
for (int i = 0; i < 10; i++)
{
check[i] = Task.Factory.StartNew(() =>
{
checkProxy();
});
}
Part 2 - checkProxy() code:
private void checkProxy()
{
pBOT++; // current number in List
string[] proxy=proxies[pBOT];
/////////////////////////
////Processing proxy
/////////////////////////
}
And I need it to process the rest of proxies continually without me clicking again.
different explanation:
I have 30 names in list... I start 10 threads in loop(for) to process first 10 names... but when that for is finished there is 20 unprocessed names...
so how to make thread to go after another name?
PS. please be easy on post like : "U don`t know what U doing etc." - I`m asking because the multitasking is only problem for me...


Sign In
Create Account

Back to top









