I'm building a windows service that grabs information from a website periodically, and the goal is to start all over again, when finding an exception, for example when internet disconnects.
Any help would be appreciated.
Code below
Code:
public string cadena(string pagina)
{
try
{
String cadena;
WebRequest myWebRequest =