I have some small Windows Form application that uses WebBrowser object in Visual C#. What I want to do is, given a list of urls, I want to automatically load these urls in the WebBrowser object one by one, then I want to know which urls can be visited, and which urls cannot be visited.
After I called webBrowser1.Navigate(one url), how can I know whether this url can be visited or not in the code?
public partial class Form1 : Form
private void button1_Click(object sender, EventArgs e)
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)