await webView.CoreWebView2.Profile.ClearBrowsingDataAsync(); Facebook’s web notifications work if you enable them:
if (webView.CoreWebView2.CanGoForward) webView.CoreWebView2.GoForward();
To clear data on logout (if needed):
private async void InitializeWebView()
✅ Run the app – Facebook will load inside your window. a) Set window icon Add an .ico file (Facebook logo) to project → set as application icon. b) Disable right-click context menu (optional) webView.CoreWebView2.Settings.AreDefaultContextMenusEnabled = false; c) Add navigation buttons (Back, Forward, Reload) Add buttons in XAML:
private void Refresh_Click(object sender, RoutedEventArgs e)
App For Pc Windows 10 Verified | Facebook
await webView.CoreWebView2.Profile.ClearBrowsingDataAsync(); Facebook’s web notifications work if you enable them:
if (webView.CoreWebView2.CanGoForward) webView.CoreWebView2.GoForward(); facebook app for pc windows 10
To clear data on logout (if needed):
private async void InitializeWebView()
✅ Run the app – Facebook will load inside your window. a) Set window icon Add an .ico file (Facebook logo) to project → set as application icon. b) Disable right-click context menu (optional) webView.CoreWebView2.Settings.AreDefaultContextMenusEnabled = false; c) Add navigation buttons (Back, Forward, Reload) Add buttons in XAML: await webView
private void Refresh_Click(object sender, RoutedEventArgs e) c) Add navigation buttons (Back