简体   繁体   English

如何获取显示的网页源

[英]How to get the Displayed Webpage source

how can i get the web-page source displayed on a web-browser control, either in c# or Win32.even ATL COM also fine. 我如何才能在c#或Win32中将网页源显示在Web浏览器控件上。即使ATL COM也可以。 i mean.. i dont want to create new "HTTPReqest" or "openURL" to get source.. i want to get the source from the control only..is it possible for windows mobile.. if so how?.. please let me know. 我的意思是..我不想创建新的“ HTTPReqest”或“ openURL”来获取源代码。.我只想从控件中获取源代码。是否可以用于Windows Mobile。我知道。

Thank u 感谢你

Assume this as the pseudocode 假设这是伪代码

wbBrowser.Document.innerHtml

The Document property should be the starting point for you to look into. Document属性应该是您研究的起点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM