Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / C#

A Cross-platform C# Class for Using INI Files to Store Application Settings

Rate me:
Please Sign up or sign in to vote.
3.95/5 (7 votes)
3 Sep 2013CPOL7 min read 66.5K   1.4K   38  
The class runs under Mono or .NET and allows the use of Windows style "INI" files to store and retrieve application settings

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "INIFileTest", "INIFileTest.csproj", "{2F8B665C-405E-4868-A0F2-A78DF0B08FE6}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{2F8B665C-405E-4868-A0F2-A78DF0B08FE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2F8B665C-405E-4868-A0F2-A78DF0B08FE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2F8B665C-405E-4868-A0F2-A78DF0B08FE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2F8B665C-405E-4868-A0F2-A78DF0B08FE6}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(MonoDevelopProperties) = preSolution
		name = INIFileTest
		version = 0.1
		StartupItem = INIFileTest.csproj
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer APT srl
Italy Italy
Been coding since I was 10, started out on a Philips game console in pseudo-assembler and then moved on to a C64, C128, and lots of Amigas.

Been working in the field of software development for industrial automation since 1989.

Comments and Discussions