摘要:
INI文件格式如下:[Database]server=wlqdatabase=mydatabaseuid=sapwd=123456说明:(有4个key)Section为:DatabaseKey为:server database uid pwdc#申明ini文件的写操作函数writeprivateprofilestring: [ dllimport ( "kernel32" ) ] private static extern long writeprivateprofilestring ( string section , string key , string val , 阅读全文