This project is read-only.

SimpleConfigEditor V1.0 Documentation:

To use this Tool in your project download latest version and add reference of "SimpleConfigEditor.dll" to your project:

//Create an instance of ConfigEditor Class:
//Make sure that your Win/Web Application has write and read privilege to selected config path

//In Web
SimpleConfigEditor.ConfigEditor cfg = new SimpleConfigEditor.ConfigEditor(Server.MapPath("config.xml"));
//In Win App
SimpleConfigEditor.ConfigEditor cfg = new SimpleConfigEditor.ConfigEditor("config.xml");
//Set a Value:
cfg.Set("KEY", "VALUE");

//Get a Value:
cfg.Get("Key");

//Get a Value with Default Value, if Key Not Exist:
cfg.Get("KEY", "DefaultValue");

//Delete a Key from your Config File:
cfg.Delete("KEY");

Last edited Dec 28, 2010 at 12:16 PM by devildarkness, version 6

Comments

No comments yet.