I want to know if my connection string is encrypted or not. I don't want to encrypt it again and again. This is only an issue in development stage. Any way to check the status of the connection string in App.config?
A:
Look for the dbname or the likes - you won't find it if it's encrypted.
JohnIdol
2010-05-24 16:08:35
A:
Why not see if the connection string contains the strings "Source" or "Catalog" (case insensitive)? If so, it is not encrypted. This sure is simple ;-)
Simon Chadwick
2010-05-24 16:12:39