INIParser 1.0.4
dotnet add package INIParser --version 1.0.4
NuGet\Install-Package INIParser -Version 1.0.4
<PackageReference Include="INIParser" Version="1.0.4" />
<PackageVersion Include="INIParser" Version="1.0.4" />
<PackageReference Include="INIParser" />
paket add INIParser --version 1.0.4
#r "nuget: INIParser, 1.0.4"
#:package INIParser@1.0.4
#addin nuget:?package=INIParser&version=1.0.4
#tool nuget:?package=INIParser&version=1.0.4
INI Parser
Lightweight INI parser optimised for speed to quickly read and process large amounts of INI files. The INI parser is exclusively a reader and does not support writing files.
Requires .NET 8 or higher
How to use?
The simplest option is to pass the file path in the constructor.
using INIParser;
var iniFile = new IniFile("file.ini");
string? textValue = iniFile["SectionName", "key"];
iniFile.WriteFile("file.ini", Encoding.UTF8);
Alternatively, asynchronous loading of the file is also supported.
using INIParser;
var iniFile = new IniFile();
await iniFile.LoadFileAsync("file.ini");
string? textValue = iniFile["SectionName", "key"];
await iniFile.WriteFileAsync("file.ini", Encoding.UTF8);
FAQ
Can the files also be written?
Yes, but content such as line comments are not written.
Can comments be read from the ini file?
Comments are not read during parsing and cannot be accessed.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on INIParser:
| Package | Downloads |
|---|---|
|
TcForms
WinForms Controls for TwinCAT |
|
|
FabinatorParser
用于解析 Fabinator 地图文件(DAT、FAB、FBF 和 NMP),并生成地图领域模型及 SVG 预览。 |
GitHub repositories
This package is not used by any popular GitHub repositories.