I want to store a password in a config file but i would like it to be encrypted so that in the app it can be read, decrypted and used. What\'s the best way to encrypt a pass
You can use DpapiProtectedConfigurationProvider
See this links .
Encrypting .NET configuration files through code
Implementing Protected Configuration With Windows Apps
Encrypting Passwords in a .NET app.config File
Bye.