How do I add multiple lines of cookies to webview2?
webView.CoreWebView2.CookieManager.CreateCookie () <- requires the format (string, string, string, string) and nothing else
webView.CoreWebView2.CookieManager.CreateCookieWithSystemNetCookie (Cookie cookie) <- allows you to add only 1 cookie
webView.CoreWebView2.CookieManager.AddOrUpdateCookie (CoreWebView2Cookie cookie) <- Not given result
I have txt file with 14 cookies NetScape (1 cookie = 1 string). I read file and write in
List<string> cookie List<string>();
None of the above methods allow me to download all 14 cookies and follow the link