Verify Internet Good Connection


  • Hello guys!

    I am working on a Windows Store app using C#, this app has to use internet connection to update a values in a Data Base. Everything works fine when having a decent good internet connection, but when it is a not good internet connection the transaction times out. Thus, I thought in Ping some random http address, I don't know maybe Microsoft . com, but I don't find the Ping class anywhere, and I read a post about something about Ping over sockets, etc.

    Does anybody had the same problem that could share a solution??? or might share an example of ping using sockets???

    Note: I am not verifying if the System is connected to a network, I just want to know if I have a strong connectivity or not.

    Wednesday, May 21, 2014 6:54 PM