Avatar of itnifl
itnifl
Flag for Norway

asked on 

Clean up ini file automatically

I have some manual code that cleans up a corrupt ini file, for instance removes duplicate sections and keys. I don't like using that custom code, would like to use a standard library instead. Have been looking at https://github.com/rickyah/ini-parser, but it seems to not have any automatic way of cleaning this up. If it encounters an invalid ini file with duplicate sections and keys, it throws an error.

Does anyone here know of a library out there that I can use in .Net C# that automatically fixes the problems described above?
.NET ProgrammingC#

Avatar of undefined
Last Comment
itnifl

8/22/2022 - Mon