views:

68

answers:

2

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
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