Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I want make httprequest and get same response, this is my code
Dim inStream As StreamReader
Dim webRequest As WebRequest
Dim webresponse As WebResponse Dim request As HttpWebRequest = webRequest.Create("https:/x.x.x")
request.CookieContainer = New CookieContainer
request.Credentials = New NetworkCredential(login, "password")
Dim respone = request.GetResponse()
inStream = New StreamReader(respone.GetResponseStream())
TextBox1.Text = inStream.ReadToEnd

But i recived 2 resposnse one is ok but second without session, can i filrered resposone and get only one?

What I have tried:

i try everythink but desnt work
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900