using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace FaceSdkX64Service { public class ConfigHelper { [DllImport("kernel32.dll", EntryPoint = "GetPrivateProfileString", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)] public static extern long GetPrivateProfileString(string section, string key, string defval, StringBuilder value, int size, string filename); } }