View previous topic :: View next topic |
Author |
Message |
Renegade
Joined: 30 Apr 2005 Posts: 45
|
Posted: Mon Mar 14, 2011 1:30 am Post subject: args[] Passed Through to Program? |
|
|
My software allows users to drop a file onto its desktop icon, i.e. pass an argument to it.
I noticed that the behaviour is preserved in the bootstrapped EXE, but looking at the ExecuteAssembly method, I don't see this being done explicitly.
I just want to verify that this is expected behaviour and that there's nothing else I need to do in order to preserve my application's accepting of arguments.
Cheers,
Ryan |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Mar 14, 2011 9:28 pm Post subject: |
|
|
Yes the arguments are passed through to the encrypted EXE. The assembly loader uses Environment.GetCommandLineArgs() to get the arguments to pass to the encrypted exe they don't have to passed explicitly. _________________ Infralution Support |
|
Back to top |
|
|
|