internal IProxy getProxy(String host) { if (proxies == null) { return(null); } byte[] _host = System.Text.Encoding.Default.GetBytes(host); lock (proxies) { for (int i = 0; i < proxies.Count; i += 2) { if (StringAux.glob(((byte[])proxies[i]), _host)) { return((IProxy)(proxies[i + 1])); } } } return(null); }