I am using a BackroundService and have registered it as a Window Service. I would like to send a notification to the Windows UI when the service is running, so that the user - if logged in - can read this message. How can I achieve this? Alternatively: how to show the Console (I know, even if it is a service..) Thanks for the help!
Asked
Active
Viewed 24 times
0
-
You cannot really interact with the user desktop directly - you'd need a secondary process to do this. Check out this duplicate post for more details: [Allow Windows service to interact with desktop](https://stackoverflow.com/questions/4237225/allow-windows-service-to-interact-with-desktop) – CoolBots Sep 01 '21 at 20:11