WriteProfileString and ReadProfileString functions
Is there a WriteProfileString support directly in C#? I do not want to use the unmanaged function from kern开发者_开发技巧el32.dll.
No, as far as I know, .NET does not support INI files anymore.
In the .NET world, the INI file format has been widely replaced by XML, which is the new de-facto standard for configuration files (e.g. app.config
files for which the .NET Framework provides support through the static System.Configuration.ConfigurationManager
class).
精彩评论