コード例 #1
0
        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");
            }
        }
コード例 #2
0
 protected bool Equals(GoogleServer other)
 {
     return(string.Equals(_url, other._url));
 }