When my application starts in the static void Main method, I want to determine if the Alt or Ctrl key is pressed, and then run the application in some Option mode. How do I know if a key is pressed during startup?
I already found some samples, but they all import windows dll, which I do not want to do.
source share