SharpConfig
SharpConfig copied to clipboard
How can i read conf file?
eg. redis.conf:
SharpConfig expects a '=' by default, because that's the format of cfg/ini files. This behavior is implemented here (and in line 244). In order to parse your config, the call should be changed from IndexOf('=') to IndexOfAny(new[] {'=', ' '}). I may implement this as an optional feature in a future release, but for now, you would have to change the code yourself.