Let's say you're building a WPF application, for example, and have included EO.WebBrowser control in the app, the web view will load some urls and the WebEngine manages all the cookies the various web views in the app will have as part of their requests.
NOW.. If you also have native .NET code in the app that also makes server requests, say with .NET HttpClient, what are some methods to enable synchronization between the CookieContainer used by the HttpClient for native app requests and the requests within the EO.WebBrowser web views?
I understand the WebEngine has and exposes a Cookie Manager and has equivalent classes Get/Set Cookie operations, but the synchronization part is what hangs me up.
https://www.essentialobjects.com/doc/eo.webengine.cookiemanagermembers.aspxBecause cookies can come and go from either webview requests or native HttpClient requests you have possibility of conflicts or race conditions and I wasn't sure what patterns folks use to keep both distinct "clients" in sync with one another and manage conflicts and avoid over complicated schemes to do so.