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?