I have added a custom section called secureAppSettings to my web.config file:
secureAppSettings
&l
You could access them as key/value pairs:
NameValueCollection section = (NameValueCollection)ConfigurationManager.GetSection("secureAppSettings"); string userName = section["userName"]; string userPassword = section["userPassword"];