I want to create a small windows application will go automatically every time period to my site and check if its running fine, if it found it down, not working or have an error ‘Examples: 404, network error, connection to db failed’ it will show a message on my screen.
How can i know that there is an error there programmaticly using any .NET language?
It’s pretty easy to do with a
WebClient. It would look something like this:You could hook that up to a
Timer‘sTickevent or something to periodically make the check.