INIConfigLoader - 1.0.0.1

Library to read .INI configuration files.

Download:

The library for PC (.NET 2.0) could be downloaded here: INIConfigLoader1001.zip
The library for WinCE (CF .NET 2.0) could be downloaded here: INIConfigLoaderCE1001.zip

Author:

Mauro Scomparin <scompo@gmail.com>

License:

You can use it as you like in your projects. It would be nice if you send me an email here if you use this library in your program.
You can also donate something with the button below if you like.

How to use it:

Just use the method readValue(sectionName, paramName) to read from the file you set in FilePath the value you want to read.

Example:

using INIConfigReader;
...
INILoader loader = new INILoader("Path\to\your\file.ini");
string value = loader.readValue("section_1", "param_1");


That's it!

Sintax of .INI file:

#Comment
[section] #comment
#comment
param="value" #comment
param2="value"
#comment

An example (Example.ini) file is located in the library main folder.

Any comment / suggestion / bug?

You can write to me about the library here

History:

1.0.0.1 - Bug in comments inside section fixed. 
1.0.0.0 - First version

Back