Tag: INI file

Access INI File with C#

Hi have a good day This simple class will allow to Write and Read INI Files ( Old Windows Settings Files ) using System; using System.Runtime.InteropServices; using System.Text; class INIFile { [DllImport(“kernel32.dll”)] private static extern int WritePrivateProfileString(string ApplicationName, string KeyName, string StrValue, string FileName); [DllImport(“kernel32.dll”)] private static extern int GetPrivateProfileString(string ApplicationName, string KeyName, string DefaultValue, […]