12345678910111213141516171819202122232425262728 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using CefSharp;
- namespace UAS_Web.tool
- {
- public class CookieVisitor : CefSharp.ICookieVisitor
- {
- public event Action<CefSharp.Cookie> SendCookie;
- public void Dispose()
- {
- //throw new NotImplementedException();
- }
- public bool Visit(CefSharp.Cookie cookie, int count, int total, ref bool deleteCookie)
- {
- deleteCookie = false;
- SendCookie?.Invoke(cookie);
- return true;
- }
- }
- }
|