2

How do I send a notification to Windows 10 via just a console app and nothing else. I am trying to do this with .NET Framework. I tried using this answer but when I tried to reference Windows from Windows > Core, there was no such option.

Lavamaster
  • 87
  • 1
  • 6

1 Answers1

2

There seems to be a Nuget Package available that provides all the necessary windows references

Microsoft.Windows.SDK.Contracts.

Once you have installed it you should be able to reference the namespace and add any notification related code

using Windows.UI.Notifications;

Check out the this Url for more details

Deepika
  • 48
  • 5