Skip to content

Instantly share code, notes, and snippets.

@r4hulp
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r4hulp/564c377595a3c2206f76 to your computer and use it in GitHub Desktop.
Save r4hulp/564c377595a3c2206f76 to your computer and use it in GitHub Desktop.
Code to remove cookies in Xamarin Android
if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Lollipop)
Android.Webkit.CookieManager.Instance.RemoveAllCookies(null);
else
Android.Webkit.CookieManager.Instance.RemoveAllCookie();
MobileServiceClient.Logout();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment