U
U
Uncle Bogdan2021-04-16 12:40:40
C++ / C#
Uncle Bogdan, 2021-04-16 12:40:40

How to take cookies from a website using CefSharp?

Didn't find anything on google. (Perhaps I searched badly)

I want to take Cookies from this site ( https://kad.arbitr.ru ), which opens in CefSharp.
As a result, I want to get something like this:

"_Ga = GA1.2.717610766.1616405337; _ym_uid = 1616405339169640867; _ym_d = 1616405339; tmr_lvid = 6f8904fe3cda89871a125c344e049bf1; tmr_lvidTS = 1616405340439; _fbp = fb.1.1616866575060.1234424134; KadLVCards =% d0% a1% d0% 98% d0% 9f-338% 2f2021~%d0%a1%d0%98%d0%9f-335%2f2021~%d0%a1%d0%98%d0%9f-331%2f2021~%d0%9084-1806%2f2021~%d0%9084- 1822% 2f2021; Notification_All = 6afb5aae235d4d3fa9df5cf7aa5ecc45_1626123600000_shown; _gid = GA1.2.574679524.1618481918; _gat = 1; _gat_FrontEndTracker = 1; _dc_gtm_UA-157906562-1 = 1; pr_fp = d1280e693c9f88cb2a50acd3f7421d68142581dc95fa26e5767247e1b83d71f7; tmr_detect = 1% 7C1618564130321; _ym_isad = 2; tmr_reqNum = 516; wasm=ded0ffad8959954793ddc3831b61521e; rcid=4b0dcf87-559f-41cb-9feb-91e560ec0484"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
edward_freedom, 2021-04-16
@motkot

var cookies = await Cef.GetGlobalCookieManager().VisitAllCookiesAsync();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question