I wrote the code below to monitor a website that was running on a local web server. The goal was to reset the web server whenever the WebRequest object recieved a 404 error from the web server. If a 404 error is recieved, the service runs the command...