HTTP Requests: POST, GET, Datei hochladen, Formular abschicken und Cookies mit VB.NET
ToDO: Beschreibung
Webseite aufrufen
Dim http As New IntelligentStreaming.SharpTools.HTTPWorker() Dim rsp As HttpWebResponse = Nothing http.Url = "http://yoursite.com/pageToFetch.html" http.Type = HTTPRequestType.[Get] http.RequestObject.AllowAutoRedirect = False ' if required Try rsp = http.SendRequest() Catch ex As WebException Console.WriteLine(ex.Message) Return End Try Dim webPage As String = rsp.ResponseText
Login-Formular
Dim http As New IntelligentStreaming.SharpTools.HTTPWorker()