Ejemplo n.º 1
0
 public static bool canLocalSocks5ProxyConnectGoogle()
 {
     if (!ConnectTest.isValidCurrentServer())
     {
         return(false);
     }
     return(ConnectTest.canUrlConnect("http://chrome.google.com", "html", true));
 }
Ejemplo n.º 2
0
 public static bool canLocalSocks5ProxyConnectBaidu()
 {
     if (!ConnectTest.isValidCurrentServer())
     {
         return(false);
     }
     return(ConnectTest.canUrlConnect("http://www.baidu.com", "html", true));
 }