Sometimes I cannot retrieve cookies from the CookieContainer. The problem is in the way the class sets cookies or in the way it retrieves those cookies. Either way, the class is so restricted that I didn't find any workaround.
Is there an official place to post the bug?
Here is some simple lines to replicate the bug:
Uri uri = new
CookieContainer cc = new CookieContainer();
Cookie c = new Cookie("opera_test", "12345", "/", "my.opera.com");
cc = new CookieContainer();
Console.Write(cc.GetCookies(uri).Count); //Doesn't work!? CookieContainer.Count shows 1 cookie but where is it? Cannot retrieve it using any variant of opera uri.
Any help appreciated.