S
Steve
I took over a web app that the developer encrypted the connection string. The connection string looks something like this [mchckjkfiekifjfyhg} (example), he is reading the string as
string con = ASCII.GetString(Convert.FromBase64String(ConfigurationManager.AppSettings["connection"]));
Now, I need to change the string in the web config file, so how can I get the new connection string from plain text to the encrypted string as is currently used?
string con = ASCII.GetString(Convert.FromBase64String(ConfigurationManager.AppSettings["connection"]));
Now, I need to change the string in the web config file, so how can I get the new connection string from plain text to the encrypted string as is currently used?