Since WebBrowser in C# shares cookies with all other instances of WebBrowsers including IE I would like for a WebBrowser to have it's own cookie container that doesn't share any cookies that was created previously in IE or other instances.
So for example when I create a WebBrowser it shouldn't have any cookies. And when I run 2 instances of WebBrowsers they have their own cookie container and don't share or conflict cookies with each other.
How can I achieve this ?
You could do this per process using the
InternetSetOption
Win32 function:and then at your application startup call the following function: