Example #1
0
 //public IProxy RandomProxy()
 //{
 //    if (_proxies.Count > 0)
 //    {
 //        IProxy p = _proxies.ToList()[_rndm.Next(0, _proxies.Count())];
 //        UnmanagedProxy.ChangeProxy(p);
 //        return p;
 //    }
 //    return new Proxy();
 //}
 public IProxy RandomProxy() => Proxies.Count > 0 ? UnmanagedProxy.ChangeProxy(Proxies.ToList()[_rndm.Next(0, Proxies.Count())]) : new Proxy();
Example #2
0
 public void DisableProxy() => UnmanagedProxy.DisableProxy();