I want to create an app to monitor the event logs of multiple servers remotely all is good however the servers are likely to be offline now and again.
When i connect to a remote event log and the connection to the machine is lost a System.IO.IOException is thrown, I would like to hadle the error by connecting again to the remote server but since the EventLog class does not have a connect method I will have to create an new instance of EventLog and work out which EventLog instance threw the exception.
What is the best way to handle this scenario?