what is the best way to validate a valid url and through error message?
i am using something like this:
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
i am doing try and catch to catch the error message
is that enough or can be do better then that?
If you want to see if you get a response from that URL you have to –