string url = ""; // TEST CASES url = "http://newsroom.lds.org/ldsnewsroom/eng/news-releases-stories/local-churches-teach-how-to-plan-for-disasters"; //Prints "BROKEN", although this is getting re-written to good url below. //url = "http://beta-newsroom.lds.org/article/local-churches-teach-how-to-plan-for-disasters"; // Prints "GOOD" //url = "http://"; //Prints "BROKEN" //url = "google.com"; //Prints "BROKEN" althought this should be good. //url = "www.google.com"; //Prints "BROKEN" althought this should be good. //url = "http://www.google.com"; //Prints "GOOD" try { if (url != "") { WebRequest Irequest = WebRequest.Create(url); WebResponse Iresponse = Irequest.GetResponse(); if (Iresponse != null) { _txbl.Text = "GOOD"; } } } catch (Exception ex) { _txbl.Text = "BROKEN"; }