I've created an application who have an option for create a shortcut on Start Menu for autostart on windows start. All works but I need to do something in order to let the software programmatically understand if software is started by windows (automatically) or by the user.
Now I verify if shortcut exists but I want understand if exists some parameter to use for understand if Windows run program or not.