Usage with WebBrowser control:
var cookies = WebHelper.GetGlobalCookies(webBrowser.Url.AbsoluteUri);
Usage with WebBrowser control:
var cookies = WebHelper.GetGlobalCookies(webBrowser.Url.AbsoluteUri);
This is still the correct Api (if you are still using an IE based browser, e.g. WebBrowser). One Pitfall: You need to specify only the base url, e.g. procoll://host.tld/ without the following path.
I know it's been 5 years, but it does not work for me. Can you tell me if it's still supposed to be functional, and if so, can u tell me what I am doing wrong.