I am creating a Win Forms Application(C#). I need to keep it running 24/7 and submit some XML data when connected to Internet.
I am aware of few methods which keep pinging a solid domain to check if the system is connected to Internet.
But I am looking for some better or elegant way to do the same. I have some hints that I may be able to capture some socket events. Please help me with some ideas.