1: 2: 3: 4: 5: 6:
WebBrowser wb = new WebBrowser(); wb.ScrollBarsEnabled = false; wb.ScriptErrorsSuppressed = true; wb.Navigate(TargetUrl); while (wb.ReadyState != WebBrowserReadyState.Complete) { Application.DoEvents(); } return wb.DocumentText;