DesktopNotificationsNet8 1.3.2
See the version list below for details.
dotnet add package DesktopNotificationsNet8 --version 1.3.2
NuGet\Install-Package DesktopNotificationsNet8 -Version 1.3.2
<PackageReference Include="DesktopNotificationsNet8" Version="1.3.2" />
paket add DesktopNotificationsNet8 --version 1.3.2
#r "nuget: DesktopNotificationsNet8, 1.3.2"
// Install DesktopNotificationsNet8 as a Cake Addin #addin nuget:?package=DesktopNotificationsNet8&version=1.3.2 // Install DesktopNotificationsNet8 as a Cake Tool #tool nuget:?package=DesktopNotificationsNet8&version=1.3.2
DesktopNotifications
A cross-platform C# library for native desktop "toast" notifications.
Features
Windows | Linux (FreeDesktop.DBus) | OSX | |
---|---|---|---|
Show notifications | ✓ | ✓ | ✕ |
Hide notifications | ✓ | ✓ | ✕ |
Schedule notifications | ✓ | ✓* | ✕ |
Launch actions | ✓** | ✕ | ✕ |
Replacing notifications | ✕ | ✕ | ✕ |
Buttons | ✓ | ✓ | ✕ |
Audio | ✕ | ✕ | ✕ |
Images | ✓ | ✓*** | ✕ |
<sub> * Scheduled notifications will only be delivered while the application is running. </sub>
<sub> ** This is currently not supported when targeting .netstandard </sub>
<sub> *** If supported by the notification server </sub>
Application Context
Most operating systems require you to register the application in some form before you can actually send notifications. This registration process is handled by the ApplicationContext
. On Windows (see WindowsApplicationContext
) it will create and assign a Application User Model Id to the current process and associate a shell link in the start menu with it. This will cause your application to appear in the Windows Start Menu. On Linux/FreeDesktop.DBUS, the application context is just holding the name and optional icon of your application.
Avalonia
The DesktopNotifications.Avalonia
package offers support for the Avalonia project. It doesn't do much on its own, it just provides helpers to register
the INotificationManager
with the application builder. You can see an example of it in the Example.Avalonia project.
Help wanted
My MacBook Pro is 11 years old now and it does not run OSX Mojave or higher. Unfortunately, Apple deprecated NSUserNotificationCenter
with OSX 10.14 and I suppose they want us to use the newer UNUserNotificationCenter
API instead. I would kindly appreciate any contributions from folks that own a more modern Mac and are interested in implementing the OSX backend using the new API.
License
See License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows10.0.17763 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
net8.0-windows10.0.17763
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on DesktopNotificationsNet8:
Package | Downloads |
---|---|
DesktopNotificationsNet8.Windows
A cross-platform C# library for native desktop "toast" notifications. |
|
DesktopNotificationsNet8.FreeDesktop
A cross-platform C# library for native desktop "toast" notifications. |
|
DesktopNotificationsNet8.Avalonia
A cross-platform C# library for native desktop "toast" notifications. |
|
DesktopNotificationsNet8.Apple
A cross-platform C# library for native desktop "toast" notifications. |
GitHub repositories
This package is not used by any popular GitHub repositories.