c# - How do I automatically run an application when the system starts? -


How to start the app without using the startup folder, is there no way to go instead of Windows service?

You can create keys in the registry:

  Registry app = Registry Current user OpenSubby (true "software \\ Microsoft \\ windows \\ current version \\ run"); App.SetValue ("name", .executionablePath.ToString ());  

This will add the application to startup for the current user.


Comments