public string DeleteKey(string File, string Section, string key) { if(WritePrivateProfileStruct(Section, key, null, 0, File) == 0) { return "false"; } else { return "true"; } }