0
我使用此代碼,打開一個網站:獲取Internet Explorer流與SHDOCVW DLL
private void OpenBrowser(string url)
{
object sender;
WebBrowserDocumentCompletedEventArgs e;
ie.DocumentComplete += (DWebBrowserEvents2_DocumentCompleteEventHandler)
new DWebBrowserEvents2_DocumentCompleteEventHandler(webBrowser1_DocumentCompleted);
wb = (IWebBrowserApp) ie;
wb.Visible = true;
object o = null;
wb.Navigate(url, ref o, ref o, ref o, ref o);
}
private void webBrowser1_DocumentCompleted(object sender, ref object e)
{
}
網站被打開了,但我想訪問記錄訪問網頁的內容網頁的流。是否有可能做到這一點?