I use
System.Windows.Forms.WebBrowser
in C # to display some pages. I want to do some custom work when a user clicks on the URL of a page that does not exist.
Basically, I want to set some values ββwhen the following message is displayed in the browser
The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties
How do I get status so that I can distinguish between page and error page?
source share