if webbrowser hangs, then retry, how to check if hanging c#
Posted on 2012-08-22
I am using a winapp form c# to login and navigate deep into a webpage, upload a file, download a file. All this works successfully... MOST of the time. Everyonce in a while, when I hit the download button, the system seems to hang. Like a webpage that never fully loads. My goal here is if the page doesn't load, then close all webbrowsers and re-try process. Anyone have any ideas to see if page is hung on loading. My first thought was to have some sort of timer to check, if doesn't load, then start over.
Can anyone suggest something better?