Replies: 4 comments
-
Winforms Webview2 ver. - 1.0.774.44 |
Beta Was this translation helpful? Give feedback.
-
Hey @ZalupaSlonika1488 - Can you add some context on what you are trying to do here? What did you try and what problems did you run into? |
Beta Was this translation helpful? Give feedback.
-
Hi. I wanted to log in to the site using cookies. I tried different methods, but I never managed to send 14 cookies to the site. Maybe you know how to do it? Either via Cookies or via AddHeaders. I will be extremely grateful for any help. Unfortunately, I don't have any code left. |
Beta Was this translation helpful? Give feedback.
-
Sure thing! You should be able to get the list of cookies by using WebView2.CoreWebView2.CookieManager, and then adding the cookies you want using CookieManager.AddOrUpdateCookie(...). Can you give that a try? |
Beta Was this translation helpful? Give feedback.
-
I have List cookie = new List(); <---- cookie list 14 string NetScape
How can I use the cookie list?
https://social.msdn.microsoft.com/Forums/en-US/1983408d-f9d9-44fd-a0c3-88b30d757644/how-to-set-cookies-to-webview2-control-in-c?forum=csharpgeneral
This method did not help me
Beta Was this translation helpful? Give feedback.
All reactions