C# Code

Write an INI file in C#

Add a using statement

using System.Runtime.InteropServices;

Example Code

        public class IniWriter
        {
            #region | Public Properites 
            /// <summary>
            /// Gets or Sets the File Path to the settings file.
            /// </summary>
            public string FilePath { get; set; }
            #endregion
 
            public const int DEFAULT_SIZE = 255;
 
            #region |DLL IMPORTS |
            [DllImport("kernel32")]