Posts by Gabriel I.Borba • 11 points
2 posts
-
0
votes4
answers1593
viewsA: Changing connectionStrings from the app.config physically in Runtime
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); var connectionString = (ConnectionStringsSection) config.GetSection("connectionStrings");…
-
1
votes1
answer497
viewsQ: Change Connectionstring only in Runtime memory
In the App.config of my application I encrypted the Connectionstring, now I need to decrypt in Runtime but not updating in the App.config file. I am using the following code, but the same ends up…