how do I catch a time out to prevent a crash?
Posted on 2008-02-06
I have a program which uses my web service, which is sometimes not available. When I run from the Vistual Studio environment, it stop on the live of code which calls web service. But when I run from the exectuable, the program crashes, even thouigh I have it in a try catch block.
How can I test for availability before I call it?
Can I ping it? How do I ping from C#??