【发布时间】:2015-06-21 18:44:12
【问题描述】:
在执行这段代码时,我得到:
远程服务器返回错误:(503) Server Unavailable。
using (WebClient webClient = new WebClient())
{
string sReturnValue = webClient.DownloadString("http://translate.google.com/translate_a/t?client=t&sl=ar&tl=en&ie=UTF-8&oe=UTF-8&q=ok");
}
我该如何解决这个问题?
【问题讨论】:
-
当我测试它时,我最终进入了一个带有验证码的页面。
-
你想要完成什么?
-
我在 WPF C#,聊天应用程序中尝试这个。翻译单词。
标签: c#