3

I found this api exposed in for C# developers and I'm aware there is a way to send toast notifications in Go, my question is:

Is there a way to read notifications that are send to the user's computer?

https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/notification-listener

Uzair Ashraf
  • 1,171
  • 8
  • 20

1 Answers1

0

I just looked for any Go program declaring / loading any DLL-like based on UserNotificationListener.

There is none to find, which means probably no direct support from Go.
Calling a C# function from Go would therefore be a possible workaround. matiasinsaurralde/go-dotnet might work too, but has not been updated those past few years.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250