Config Helper
Quick Start C#

Registry Reader Writer Example

 

//Trial Mode

RegistryReaderWriter reg = new RegistryReaderWriter();

//License Mode

//RegistryReaderWriter reg = new RegistryReaderWriter("John Smith 10000", "psdfljksfdl==");

reg.Write("ReadTest", "ReadTestValue");

object registryValue = reg.Read("ReadTest");

Console.WriteLine(registryValue.ToString());

 

Config Reader Writer Example

//Trial Mode

ConfigReaderWriter config = new ConfigReaderWriter();

//License Mode

//ConfigReaderWriter config = new ConfigReaderWriter("John Smith 10000", "psdfljksfdl==");

config.WriteAppSetting("MySettingName", "MySettingValue");

Console.WriteLine(config.ReadAppSetting("MySettingName"));

 

INI Reader Writer Example

//Trial Mode

IniReaderWriter iniReaderWriter = new IniReaderWriter();

//License Mode

//IniReaderWriter iniReaderWriter = new IniReaderWriter("place user name here", "place license key here");

iniReaderWriter.SaveSetting("MySection", "MySettingName", "MySettingValue", "MySettingsFile.ini");

string results = iniReaderWriter.GetSetting("MySection", "MySettingName", "MySettingsFile.ini");

Console.WriteLine(results);