Reputation: 10448
I want to add or update webconfig file in C#. How can i do this?
Upvotes: 2
Views: 228
Reputation: 120917
You need to look at the ConfigurationManager
class. It will give you a Configuration
object which you can edit and call Save
on.
Upvotes: 2