Data Cogs Information Technology

posts - 131, comments - 251, trackbacks - 36

General

Search This Site

Powered by Google

Brisbane

Locations of visitors to this page

Information

Archives

Images

Blogs

CV etc.

Links For Me

I had to do this today in .NET 2.0. (Visual Studio 2005)  Found an example on David Hayden's blog:

Configuration config = ConfigurationManager.
OpenExeConfiguration(ConfigurationUserLevel.None); ConfigurationSection section
=
config.GetSection("connectionStrings"); if (section != null) { if (!section.IsReadOnly()) { section.SectionInformation.ProtectSection
(
"RsaProtectedConfigurationProvider"); section.SectionInformation.ForceSave = true; config.Save(ConfigurationSaveMode.Full); } }

 

posted on Wednesday, August 23, 2006 3:21 PM

Feedback

# re: Encrypt Connection String in App.Config (Winforms application)

ahhh....well done mark. I know which solution you chose :)
8/24/2006 4:35 PM | clayton

Post Comment

Title  
Name  
Url
Comment   
Protected by Clearscreen.SharpHIPEnter the code you see: