public void processRequest() { if (googleServer == null) { googleServer = new GoogleServer(_url); } string[] credential = _url.Split(new [] { "?username="******"&password="******"admin") && password.Equals("test")) { googleServer.processRequest(); } else { throw new Exception("Wrong pass"); } }
protected bool Equals(GoogleServer other) { return(string.Equals(_url, other._url)); }