c# - Xamarin: How to get HTML from page in WebView? -


xamarin: how html page in webview?

i develop xamarin app ios , using webview.

just html of page, use following code.

webclient wc = new webclient(); using (stream st = wc.openread("http://study-csharp.blogspot.jp/")){     using (streamreader sr = new streamreader(st, encoding.utf8)){         string html = sr.readtoend();         console.write(html);     } } 

however, want html data after user has logged in site in webview.

i can't find method html in uiwebview.

thanks in advance.

you can use javascript webview.evaluatejavascript ("document.body.innerhtml")


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -