c# - How to modify the keys and values of an encrypted app.config file? -


i new on c#/visual studio , i'm having difficulty on running test methods. requires connect database server resulting of getting failed result since can't connect database.

we tried modify connection string include our working credentials can connect database server app.config file encrypted.

please see below screenshot of example encrypted line. how can modify that?

enter image description here

as see think connectionstring encrypted outside project , pasted here. saying because imo encrypting connection string value , keeping key in plain text not possible within project. possible encrypt entire section within config file.

check method using connectionstring. believe method might using form of decryption. use decrypt string, change values required, encrypt again , paste in above location.

you can edit question include method using connectionstring can analyse , give better solution.

hope helps.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -