I'm reposting this question with screenshots as might make my problem easier to understand.
I have a CookieContainer that is populated on a HttpWebRequest. I'm trying to iterate through the values and sort of got close with the following line of code:
var getvalue = myWebRequest.CookieContainer.GetCookies(new Uri("https://mydummy.domain.com"));
However, out of the 4 potential values listed in the cookie collection, it always returns the last entry.
Does anyone know how I can get at the list so I an iterate through and cherry pick the value I'm after?
In the last image I've got an entry at position 2 out of the possible 4 entries (shown at array position 1). It's that value JSESSIONID that I'm trying to pull out.