If it is up i want it to change an image to another image to tell me the server is down.
Can anyone help?You could use something like:
try {For more information on System.Net.WebRequest use the link below (.NET Class Library) and in the left frame go to System.Net -> WebRequest.WebRequest test = WebRequest.Create("http://www.domain.com");
//display "up" image
} catch ( Exception e ) {
//display "down" image
}
Hey thanx for the replay but im new to this stuff is there anyway you could give me a little more info?
0 comments:
Post a Comment