I wrote a program in C# .NET, that needs to be run in the background. I mean it should have any user interface. Neither a GUI nor a CLI. It is not also a windows service
(because it must run only after user has logged in).
It should just run in background. example of such programs are AdobeUpdater.exe
, GoogleUpdater.exe
etc.
Another option would be to create a Windows Application and set these two properties:
this.WindowState = FormWindowState.Minimized;
this.ShowInTaskbar = false;
You can create a Console application, and then change it's properties in the project settings to a Windows application (rather than console). Or you can create a Windows Forms application that ddoesn't actually create any forms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With