use proxy from a list

Posted by user1505181 on Stack Overflow See other posts from Stack Overflow or by user1505181
Published on 2012-07-05T20:58:28Z Indexed on 2012/07/05 21:15 UTC
Read the original article Hit count: 226

Filed under:

I am trying to write a program which neeeds to use a proxy 3 times then move onto the next proxy in a list and so on. the user will enter their proxy list into a list/textfile and the program will use the first in the list and then carry on through the list until it gets to the end.

How do i get the proxy details from the list and use them using httpwebrequest? i have no problem using a proxy if i set it within the code but dont know how to get it to work through the list

basically it is like this: user enters a list of proxies into a text file program uses first proxy in list 3 times then moves onto next. this repeats until finished.

© Stack Overflow or respective owner

Related posts about c#