我正在尝试使用GetStringAsync方法访问我的url,但调用挂起并且永远不会结束。当我在浏览器中检查它时它工作完美但不知何故在我的代码中它永远不会结束。我的代码:publicboolLogin(stringurl,stringuserName,stringpassword){try{Taskresponse=GetLoginData(url,userName,password);if(response.Result.UserInfo.UserId>0){IsAuthenticated=true;}returnIsAuthenticated;}catch(ArgumentExce