0

Possible Duplicate:
Reading/writing INI file in C#

my job is to parse the contents of an INI file. for this I want to use a wrapper function in which the input should be the section and key of the INI file and the output should be the corresponding value.

for example, if I give section name as "battery" and key name as "status", so I should get their corresponding value as stored in the INI file.

how should I do it?

Community
  • 1
  • 1
Sid
  • 45
  • 7

1 Answers1

0

Take a look at the ini-parser library.

Ricardo Amores
  • 4,498
  • 1
  • 28
  • 44
Osiris
  • 4,127
  • 2
  • 18
  • 50