This repo shows you how to use the Windows 10 WinRT APIs in your WPF app to display a toast message.
The repo contains two identitcal WPF solutions. One targeting .NET Core and another one targeting .NET Framework.
Read more about how to use Windows 10 WinRT APIs in your WPF applications and about the code in this repository in this blog post: https://www.thomasclaudiushuber.com/2019/04/26/calling-windows-10-apis-from-your-wpf-application/