0
HttpWebRequest webRequest = WebRequest.Create("http://127.0.0.1/login.php?id=boonjye91") as HttpWebRequest;
HttpWebResponse response = webRequest.GetResponse() as HttpWebResponse;
response.Close();
// Read the response
StreamReader reader = new StreamReader(response.GetResponseStream());
var responseText = reader.ReadToEnd();
// This just shows the server's response, but you'll probably want to do other things
Toast.MakeText(this, responseText, ToastLength.Long).Show();
當我運行斷點時。我探討了它在web響應中被凍結&凍結。 爲什麼?始終凍結在httpwebresponse並且無法執行任何操作
的arentü得到任何響應或異常運行程序時..? –