You can try the following:
https://magenic.com/thinking/encrypting-configuration-sections-in-net
In short – rename the app.config
file to web.config
– the schema is identical, so aspnet_regiis
works. Rename back to app.config
when finished.
More Related Contents:
- App.config connection string relative path
- How to securely store a connection string in a WinForms application?
- What does ‘useLegacyV2RuntimeActivationPolicy’ do in the .NET 4 config?
- When would I need a SecureString in .NET?
- Pros and cons of AppSettings vs applicationSettings (.NET app.config / Web.config)
- How do I set a connection string config programmatically in .net?
- Encrypting Connection String in web.config
- AES interoperability between .Net and iPhone?
- implement RSA in .NET core
- Custom app.config Config Section Handler
- How can I read/write app.config settings at runtime without using user settings?
- Added new application setting to app.config but MSI won’t install it (doesn’t overwrite)
- Connection string using Windows Authentication
- Encrypting appSettings in web.config
- Given a private key, is it possible to derive its public key?
- How do I set CultureInfo.CurrentCulture from an App.Config file?
- Powershell Calling .NET Assembly that uses App.config
- Is it possible to encrypt data with AES (256 bit) GCM mode in .net framework 4.7?
- Close and Dispose – which to call?
- Databinding an enum property to a ComboBox in WPF
- How can I programmatically remove the 2 connection limit in WebClient
- Is there a memory limit for a single .NET process
- Controlling Application’s Volume: By Process-ID
- Using “GO” within a transaction
- Could not find any resources appropriate for the specified culture or the neutral culture
- Unit testing a multithreaded application?
- Description for event id from source cannot be found
- Does Mono .NET support and compile C++ / CLI?
- Linq to Objects: does GroupBy preserve order of elements?
- Does Console.WriteLine block?