This is a fork of the fantastic Registry Export File (.reg) Parser project by Henryk Filipowicz.
A fast parser for Registry Export (.reg) Files.
- Modernized code and style to latest C# language version
- Settled on .NET 7 to benefit from .NET regular expression source generators
RegFile
class can now parse from streams in addition to file paths- Added
RegValueType
forREG_DWORD
,REG_SZ
, ... as a SmartEnum - Migrated strings to better suited types where applicable
- Migrated string processing to using Spans where applicable
- Greatly improved parsing speed and reduced memory footprint
- Added type-specific
RegValue
classes with pre-parsedValue
property in the expected managed type (string
,byte[]
, etc.)