I found a way to fix my issue.
Before i initially call the web service i will make a WebRequest to the site hosting the service. Setting the timeout property to 1 second. If the server doesnt respond within the one second it will throw an error. Then i will know the server is down.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.