Ejemplo n.º 1
0
        public static void addListProxies()
        {
            ProxyListFile.check();
            string list = System.IO.File.ReadAllText(ProxyListFile.FileLocation);

            string[] split = list.Split('\n');
            ProxyHTML += "<option style='background-color: grey; font-weight: bold;' id='N/A'><p>Select A Proxy...</p></option>\n";
            foreach (string q in split)
            {
                if (!q.Contains(" "))
                {
                    ProxyHTML += "<option style='background-color: grey; font-weight: bold;' id=" + q + "><p>" + q + "</p></option>\n";
                }
            }
            //ProxyHTML += "<option style='background-color: grey; font-weight: bold;' id='Add' >" + "+ Add To List" + "</option>\n";
        }
Ejemplo n.º 2
0
 public static void addProxyToList(string proxy)
 {
     ProxyHTML += "<option style='background-color: grey; font-weight: bold;' id='" + proxy + "'>" + proxy + "</option>";
     ProxyListFile.write(proxy);
     RightBrowser.LoadSettingsPage();
 }