Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

args[] Passed Through to Program?

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
Renegade



Joined: 30 Apr 2005
Posts: 45

PostPosted: Mon Mar 14, 2011 1:30 am    Post subject: args[] Passed Through to Program? Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Mar 14, 2011 9:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group