C# Class WixSharp.RegParser

Based on Henryk Filipowicz work http://www.codeproject.com/Articles/125573/Registry-Export-File-reg-Parser Licensed under The Code Project Open License (CPOL)
Afficher le fichier Open project: Eun/WixSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
Encoding System.Text.Encoding
Entries Dictionary>

Méthodes publiques

Méthode Description
Parse ( string content ) : Dictionary>

Parses the reg file for reg keys and reg values

Private Methods

Méthode Description
GetEncoding ( string content ) : string

Retrieves the encoding of the reg file, checking the word "REGEDIT4"

NormalizeDictionary ( string searchPattern, string content, bool stripeBraces ) : string>.Dictionary

Creates a flat Dictionary using given search pattern

StripeBraces ( string sLine ) : string

Removes the leading and ending parenthesis from the given string

StripeLeadingChars ( string sLine, string leadChar ) : string

Removes the leading and ending characters from the given string

Method Details

Parse() public méthode

Parses the reg file for reg keys and reg values
public Parse ( string content ) : Dictionary>
content string
Résultat Dictionary>

Property Details

Encoding public_oe property

public Encoding,System.Text Encoding
Résultat System.Text.Encoding

Entries public_oe property

public Dictionary> Entries
Résultat Dictionary>