namespace † { using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Text; internal static class — { [DllImport("kernel32", EntryPoint="GetPrivateProfileString")] private static extern int (string section, string key, string def, StringBuilder retVal, int size, string filePath); public static string (string iniSection, string iniKey, string iniLocation) { StringBuilder retVal = new StringBuilder(0xff); try { int num = (iniSection, iniKey, "", retVal, 0xff, iniLocation); return retVal.ToString(); } catch { return ""; } } [DllImport("kernel32", EntryPoint="WritePrivateProfileString")] private static extern long ™(string section, string key, string val, string filePath); public static void š(string iniSection, string iniKey, string iniValue, string iniLocation) { ™(iniSection, iniKey, iniValue, iniLocation); } public static bool ›(string fileLocation) { return File.Exists(fileLocation); } public static string workingDirectory { get { return Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase).Substring(6); } } } }