Class CookieManager
public class CookieManager
- Inheritance
-
CookieManager
- Inherited Members
Methods
AddCookie(IntPtr, CookieHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method webkit_cookie_manager_add_cookie. Version: 2.20
[Version("2.20")]
public static extern void AddCookie(IntPtr cookieManager, CookieHandle cookie, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
cookie
CookieHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
AddCookieFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method webkit_cookie_manager_add_cookie_finish. Version: 2.20
[Version("2.20")]
public static extern bool AddCookieFinish(IntPtr cookieManager, IntPtr result, out ErrorOwnedHandle error)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
DeleteCookie(IntPtr, CookieHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method webkit_cookie_manager_delete_cookie. Version: 2.20
[Version("2.20")]
public static extern void DeleteCookie(IntPtr cookieManager, CookieHandle cookie, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
cookie
CookieHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
DeleteCookieFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method webkit_cookie_manager_delete_cookie_finish. Version: 2.20
[Version("2.20")]
public static extern bool DeleteCookieFinish(IntPtr cookieManager, IntPtr result, out ErrorOwnedHandle error)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
GetAcceptPolicy(IntPtr, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method webkit_cookie_manager_get_accept_policy.
public static extern void GetAcceptPolicy(IntPtr cookieManager, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
GetAcceptPolicyFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method webkit_cookie_manager_get_accept_policy_finish.
public static extern CookieAcceptPolicy GetAcceptPolicyFinish(IntPtr cookieManager, IntPtr result, out ErrorOwnedHandle error)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- CookieAcceptPolicy
Transfer ownership: None Nullable: False
GetAllCookies(IntPtr, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method webkit_cookie_manager_get_all_cookies. Version: 2.42
[Version("2.42")]
public static extern void GetAllCookies(IntPtr cookieManager, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
GetAllCookiesFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method webkit_cookie_manager_get_all_cookies_finish. Version: 2.42
[Version("2.42")]
public static extern ListOwnedHandle GetAllCookiesFinish(IntPtr cookieManager, IntPtr result, out ErrorOwnedHandle error)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
GetCookies(IntPtr, NonNullableUtf8StringHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method webkit_cookie_manager_get_cookies. Version: 2.20
[Version("2.20")]
public static extern void GetCookies(IntPtr cookieManager, NonNullableUtf8StringHandle uri, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
GetCookiesFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method webkit_cookie_manager_get_cookies_finish. Version: 2.20
[Version("2.20")]
public static extern ListOwnedHandle GetCookiesFinish(IntPtr cookieManager, IntPtr result, out ErrorOwnedHandle error)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
GetGType()
Calls native function webkit_cookie_manager_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
ReplaceCookies(IntPtr, ListHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method webkit_cookie_manager_replace_cookies. Version: 2.42
[Version("2.42")]
public static extern void ReplaceCookies(IntPtr cookieManager, ListHandle cookies, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
cookies
ListHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
ReplaceCookiesFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method webkit_cookie_manager_replace_cookies_finish. Version: 2.42
[Version("2.42")]
public static extern bool ReplaceCookiesFinish(IntPtr cookieManager, IntPtr result, out ErrorOwnedHandle error)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SetAcceptPolicy(IntPtr, CookieAcceptPolicy)
Calls native method webkit_cookie_manager_set_accept_policy.
public static extern void SetAcceptPolicy(IntPtr cookieManager, CookieAcceptPolicy policy)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
policy
CookieAcceptPolicyTransfer ownership: None Nullable: False
SetPersistentStorage(IntPtr, NonNullableUtf8StringHandle, CookiePersistentStorage)
Calls native method webkit_cookie_manager_set_persistent_storage.
public static extern void SetPersistentStorage(IntPtr cookieManager, NonNullableUtf8StringHandle filename, CookiePersistentStorage storage)
Parameters
cookieManager
IntPtrTransfer ownership: None Nullable: False
filename
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
storage
CookiePersistentStorageTransfer ownership: None Nullable: False