17,748
社区成员




[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
StringBuilder temp = new StringBuilder(400);
int i = GetPrivateProfileString(Section, Key,"", temp, 400, this.fileName);
string result = temp.ToString();
return result == "" ? defaultValue : result;