Reputation: 6689
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
Upvotes: 1
Views: 1322
Reputation: 34810
You could parse out the results from http://downforeveryoneorjustme.com/.
Upvotes: 2
Reputation: 22721
Check out URL Access Restrictions in Silverlight, and here's an example for Using WebClient and HttpRequest.
Upvotes: 1