Exemple #1
0
 /// <summary>
 /// Gets a string from the ini.
 /// </summary>
 /// <param name="section">Section of the key.</param>
 /// <param name="name">Name of the key.</param>
 /// <param name="defaultValue">Value that should be used when no value is found.</param>
 /// <param name="autoSave">Whether or not the default value should be written if no value is found.</param>
 /// <returns></returns>
 public static string GetString(string section, string name, string defaultValue = "", bool autoSave = false)
 => StaticInstance.GetString(section, name, defaultValue, autoSave);