WPF native windows 10 toasts

后端 未结 6 1375
别跟我提以往
别跟我提以往 2021-02-05 14:13

Using .NET WPF and Windows 10, is there a way to push a local toast notification onto the action center using c#? I\'ve only seen people making custom dialogs for that but there

6条回答
  •  我在风中等你
    2021-02-05 14:44

    You can have a look at this post for creating a COM server that is needed in order to have notifications persisted in the AC with Win32 apps https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/10/16/quickstart-handling-toast-activations-from-win32-apps-in-windows-10/.

    A working sample can be found at https://github.com/WindowsNotifications/desktop-toasts

提交回复
热议问题