tags:

views:

29

answers:

2

Hello,

How do I check to see if a website exists at a URL in Silverilght? I basically want to ping a web page. However, the WebClient does not seem to work for me. Is there a way to check HTTP response codes in Silverlight? What does the code look like to ping a web site?

Thank you

A: 

Check out URL Access Restrictions in Silverlight, and here's an example for Using WebClient and HttpRequest.

John Fisher
+2  A: 

You could parse out the results from http://downforeveryoneorjustme.com/.

Dave Swersky
Very handy, I didn't know something like this existed. +1
musicfreak