pei_world,
You can write to it, assuming you have the appropriate permissions.
However, it might be in use by the .NET runtime, and I am not sure what the
policy is on that (if it is loaded once for some reason, if a lock is held
on it, etc, etc).
However, why would you want to get rid of the app.config file? If you
want to edit it, you can use the classes in the System.Xml namespace to do
so, as it is just an XML file.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
pei_world said:
hi there,
I want to know if it is possible to write some data to App.config file at
runtime.
I did try, but it said read-only, how can I get rid of it