mercredi 24 décembre 2014

How to get HTML code of webpage with awesoimum?

This is my best attempt, but it doesn't seem to retrieve the body of html (i get only the head part).



Dim page_source As String = DirectCast((From k In DirectCast(Reflection.Type _
Info.GetTypeFromHandle(WebControl2.GetType.TypeHandle), _
Reflection.TypeInfo).DeclaredMembers Where k.Name = "qnTkKOiivD"). _
First, FieldInfo).GetValue(WebControl1)


"qnTkKOiivD" is the name of the private property that holds what seems to be the pagesource in the WebControl.






Aucun commentaire:

Enregistrer un commentaire