0xwarning 2 Proxy Rotation [Learn C#] Basic Proxy Rotation [hide] Step 1 Make C# Console Application Step 2 First Lets Define Some Vars private static List Proxies = new List(); private static Queue proxyQueue = new Queue(); private static string proxies = "proxies.txt"; Step 3 Load The Proxies (Personally I Would not use regex for proxy loading but oh well as who really likes regex lmao) Program.Proxies = new List(from tx in File.ReadLines(Program.proxies) where Regex.Match(tx, "\\d{1,3}(\\.\\d{1,3}){3}:\\d{1,5}").Success select tx); foreach (string item2 in Program.Proxies) { Program.proxyQueue.Enqueue(item2); } Step 4 Put the load proxies into a try loop to avoid errors. try { Program.Proxies = new List(from tx in File.ReadLines(Program.proxies) where Regex.Match(tx, "\\d{1,3}(\\.\\d{1,3}){3}:\\d{1,5}").Success select tx); foreach (string item2 in Program.Proxies) { Program.proxyQueue.Enqueue(item2); } } catch { Console.Clear(); Console.WriteLine("Failed to load proxies!(Place proxies.txt next to the .exe)", Color.Red); Console.ReadKey(); Environment.Exit(1); } Step 5 See If We Have Loaded Some Proxies Console.WriteLine("Loaded " + Program.Proxies.Count + " Proxies"); Console.Read(); Step 6 Make A Loop for the proxies for (; ; ) { foreach (string item in Program.Proxies) { Program.proxyQueue.Enqueue(item); } string text; do { text = Program.proxyQueue.Dequeue(); } while (string.IsNullOrEmpty(text)); Console.WriteLine(text); } Step 7 Import Into Your Checker and set the Proxy httpRequest.Proxy = HttpProxyClient.Parse(text); Step 8 Thats It Remember to Either put this into a function and have it return the proxy. Or In the for loop add your checker code there [/hide] Quote Share this post Link to post Share on other sites
mrmillian 1 i wish u had same example for python :) Quote Share this post Link to post Share on other sites
EZ4Anthrax 1 Proxy Rotation [Learn C#] Basic Proxy Rotation ty i have a good idea what i can with that ty Quote Share this post Link to post Share on other sites
BR3ATI 1 Proxy Rotation [Learn C#] Basic Proxy Rotation Noice! :fiesta: Quote Share this post Link to post Share on other sites
Jensel05 0 Rotación Proxy [Aprender C #] Rotación Proxy Básica Es bueno el Tutorial solo que un poco confunzo ya lo que es el codigo para agregar al form1 en mi caso Quote Share this post Link to post Share on other sites
Crасkеd 1 always been better at configss then checkers. lets see Quote Share this post Link to post Share on other sites
jpvineeth 2 thanks for sharing this .. :thinking: :thinking: :thinking: Quote Share this post Link to post Share on other sites