title: VB.NET HTTPWebRequest. How to display all cookies by name/value?
body: <pre><code>    Dim req As HttpWebRequest
      Dim reader As StreamReader
      Dim html As String
      Dim resp As HttpWebResponse
      Dim tString As String
      Dim Sw As New Stopwatch
  
    Dim cookieJar As New CookieContainer()
  
  
      req = HttpWebRequest.Create("URL")
            req.CookieContainer = cookieJar
  
  
      resp = req.GetResponse
      If req.HaveResponse Then
          reader = New StreamReader(resp.GetResponseStream())
          html = reader.ReadToEnd
          '  Main.WebBrowser1.DocumentText = html
          Dim tempCookies As New CookieContainer
  
  
          tempCookies.Add(resp.Cookies)
  
          logincookie = tempCookies
  
  
  
  
      End If
  </code></pre>
  
  <p>Here is my code. How to retrieve cookies from logincookie by name/value ?</p>
  
  <p>I were looking everywhere and I can't find  single solution for this code.</p>