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
  • 2
  • 9

1 Answers1

0

Take a look at the ini-parser library.

Ricardo Amores
  • 4,597
  • 1
  • 31
  • 45
Osiris
  • 4,195
  • 2
  • 22
  • 52