C# updating information in an exe file -


im building application should consist of single .exe file in turn distributed others. in .exe file there 2 hardcoded fields, username , password. people going distribute want ability update fields , change information.

i have absolutetly no clue how this. if there dll or config sure, read them information in plain text there no such files project. ones updating .exe should people distributing application going have update , reupload .exe suppose how?

do write new application somehow decompiles, updates fields , recompiles it? or there "usual" way of doing im not aware of? or way go source code, change fields , compile new .exe , replacing old one?

edit bad wording me, emailaddress , password using in smtp client, hardcoded because user dont choose account send mail from.

rather hardcoding information executable, might make sense still have app.config file, encrypt it, provide utility write encrypted app.config specified information.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -