Need help on how to search a streamreader for a value.
''START CODE
Dim uri As New Uri(" & strFullString)
Dim data As String = "field-keywords=ASP.NET 2.0"
Dim request As HttpWebRequest = HttpWebRequest.Create(uri)
request.Method = WebRequestMethods.Http.Post
request.ContentLength = data.Length
request.ContentType = "application/x- Dim writer As New StreamWriter(request.GetRequestStream)
writer.Write(data)
writer.Close()
Dim oResponse As HttpWebResponse = request.GetResponse()
Dim reader As New StreamReader(oResponse.GetResponseStream())
Dim strReturnData As String = reader.ReadToEnd()
oResponse.Close()
'Response.Write(tmp)
'Sending the reader results to a text box for review
Me.TextBox1.Text = strReturnData
''END CODE
?? Not sure how to read the strReturnData to find the string "ssl_result=0" then I will set a value to let me know that it was found or not found.
Thanks for the help..
''START CODE
Dim uri As New Uri(" & strFullString)
Dim data As String = "field-keywords=ASP.NET 2.0"
Dim request As HttpWebRequest = HttpWebRequest.Create(uri)
request.Method = WebRequestMethods.Http.Post
request.ContentLength = data.Length
request.ContentType = "application/x- Dim writer As New StreamWriter(request.GetRequestStream)
writer.Write(data)
writer.Close()
Dim oResponse As HttpWebResponse = request.GetResponse()
Dim reader As New StreamReader(oResponse.GetResponseStream())
Dim strReturnData As String = reader.ReadToEnd()
oResponse.Close()
'Response.Write(tmp)
'Sending the reader results to a text box for review
Me.TextBox1.Text = strReturnData
''END CODE
?? Not sure how to read the strReturnData to find the string "ssl_result=0" then I will set a value to let me know that it was found or not found.
Thanks for the help..