7ow.NativeToastNotifications 31.12.2025

dotnet add package 7ow.NativeToastNotifications --version 31.12.2025
                    
NuGet\Install-Package 7ow.NativeToastNotifications -Version 31.12.2025
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="7ow.NativeToastNotifications" Version="31.12.2025" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="7ow.NativeToastNotifications" Version="31.12.2025" />
                    
Directory.Packages.props
<PackageReference Include="7ow.NativeToastNotifications" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add 7ow.NativeToastNotifications --version 31.12.2025
                    
#r "nuget: 7ow.NativeToastNotifications, 31.12.2025"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package 7ow.NativeToastNotifications@31.12.2025
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=7ow.NativeToastNotifications&version=31.12.2025
                    
Install as a Cake Addin
#tool nuget:?package=7ow.NativeToastNotifications&version=31.12.2025
                    
Install as a Cake Tool

DON'T USE IF YOU'RE USING NET 6.0 OR ABOVE

Use the official package from Microsoft instead!


Allows for .NET Framework (for example "net472") to interact with the Windows 10/11 Notifications API.

This is an abstraction and won't match up with the official documentation.

However, it should still be easy-to-use and intuitive!

Usage

Example using C# WinForms net472:

  1. Create a new NotificationManager object:

AUMID is your app's Unique ID (DO NOT REUSE IT ACROSS PROJECTS)

DisplayName is the name that appears above the content

(optional) IconPath is the file path to an image. Supports ".png" and ".ico" files.

        NativeToastNotifications.NotificationManager notificationManager = new NativeToastNotifications.NotificationManager(
            "JohnSoftware.9FSC5H0.ExampleAUMID", // unique ID - please, make it SUPER unique!!
            "Your app's Name",
            "Z:\\example.png" // optional
            );
  1. Show the notification:
  1. Text ONLY:
        private void button1_Click(object sender, EventArgs e)
        {
            notificationManager.Show("title", "description");
        }
  1. Small Image + Text:
        private void button1_Click(object sender, EventArgs e)
        {
            notificationManager.Show("title", "description", smallPicturePath: "Z:\\small-example.png");
        }
  1. Big (Hero) Image + Text:
        private void button1_Click(object sender, EventArgs e)
        {
            notificationManager.Show("title", "description", bigPicturePath: "Z:\\big-example.png");
        }
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
31.12.2025 100 12/31/2025