Reading INI Files Using Nini / .NET

I use "Nini" to read INI files. It works well, but I just found a problem that might be a bug. Do you know that?

The situation is when I read a line (using the get or getstring functions) that contains = or Nini signs stop reading the rest of the line and ignore it. It seems to stop reading after some characters, but I don’t could find a document that describes it or which characters are ignored.

Let me know if you know about this.

thank

+3
source share
1 answer

, , ini "windows style". IConfigSource IniDocument ini

IniDocument doc = new IniDocument(CONFIG_FILE_NAME, IniFileType.WindowsStyle); IConfigSource source = new IniConfigSource(doc);

+2

Source: https://habr.com/ru/post/1763056/


All Articles