Stop detect my application as a virus

前端 未结 4 1610
闹比i
闹比i 2021-01-14 07:17

I make an application that, when you run it, will put the .exe in Startup. I have this code for that:

RegistryKey rkApp = Registry.CurrentUser.OpenSubKey(\"S         


        
4条回答
  •  醉话见心
    2021-01-14 07:37

    If you need to run at startup, the generally preferred way is to run it as a windows service.

    If you need a gui as well, then you should have a gui that talks to the windows service that hosts your application.

提交回复
热议问题