I have the following code to read feeds
XmlReader reader = XmlReader.Create(url)
SyndicationFeed feed = SyndicationFeed.Load(reader)
I have to account for instances when the internet is not working. I noticed that whenever wifi is off, the code is paused at the Load(reader).
Since there's technically no error, I can't catch the code.
If wifi is not enabled, I do not want to load the reader with SyndicationFeed. Should I use a timer? What would be the best way to do this?