How to make my program a background process

.net, c#, user-interface

Solution

Another option would be to create a Windows Application and set these two properties:

        this.WindowState = FormWindowState.Minimized;
        this.ShowInTaskbar = false;

Problem

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.

Original source