| Author: Anuraj 05 Oct 2009 | Member Level: Diamond | Rating:  Points: 2 |
try { System.Net.WebClient cl = new System.Net.WebClient(); cl.OpenRead("url"); //Exists } catch { //Not running }
Thanks Anuraj THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS. BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT. dotnetthoghts
|
| Author: Anil Kumar Pandey 05 Oct 2009 | Member Level: Diamond | Rating:  Points: 2 |
create the object and call the function. it will return the error message..
if it is down..
Thanks & Regards Anil Kumar Pandey
|