Esempio n. 1
0
        public string HttpGet(string url)
        {
            while (true)
            {
                try
                {
                    return(_httpHelper.HttpGet_String(url));
                }
                catch (WebException e)
                {
                    if (e.Message.Contains("403"))
                    {
                        OutputLog("被系统踢出,重新登录。");
                        Login();
                    }

                    throw e;
                }
            }
        }