C# Class WikiFunctions.RegistryUtils

Provides access to the local computer registry below HKEY_CURRENT_USER\Software\AutoWikiBrowser only
Clients should implement their own error handling
Afficher le fichier Open project: reedy/AutoWikiBrowser

Méthodes publiques

Méthode Description
DeleteSubKey ( string keyNameSuffix ) : void

Deletes a sub key

DeleteSubKey ( string keyNameSuffix, bool throwOnMissingSubKey ) : void

Deletes a sub key

GetValue ( string keyNameSuffix, object defaultValue ) : string

Gets a string value from an AWB registry subkey

GetWritableKey ( string keyNameSuffix ) : RegistryKey

Opens or creates a writable registry key from the AWB registry area

OpenSubKey ( string keyNameSuffix ) : RegistryKey

Opens a read-only registry key from the AWB registry area

SetValue ( string keyNameSuffix, string valueName, string value ) : void

Writes a string value to an AWB registry subkey

Private Methods

Méthode Description
BuildKeyName ( string keyNameSuffix ) : string

Method Details

DeleteSubKey() public static méthode

Deletes a sub key
public static DeleteSubKey ( string keyNameSuffix ) : void
keyNameSuffix string
Résultat void

DeleteSubKey() public static méthode

Deletes a sub key
public static DeleteSubKey ( string keyNameSuffix, bool throwOnMissingSubKey ) : void
keyNameSuffix string
throwOnMissingSubKey bool
Résultat void

GetValue() public static méthode

Gets a string value from an AWB registry subkey
public static GetValue ( string keyNameSuffix, object defaultValue ) : string
keyNameSuffix string
defaultValue object
Résultat string

GetWritableKey() public static méthode

Opens or creates a writable registry key from the AWB registry area
public static GetWritableKey ( string keyNameSuffix ) : RegistryKey
keyNameSuffix string
Résultat Microsoft.Win32.RegistryKey

OpenSubKey() public static méthode

Opens a read-only registry key from the AWB registry area
public static OpenSubKey ( string keyNameSuffix ) : RegistryKey
keyNameSuffix string
Résultat Microsoft.Win32.RegistryKey

SetValue() public static méthode

Writes a string value to an AWB registry subkey
public static SetValue ( string keyNameSuffix, string valueName, string value ) : void
keyNameSuffix string
valueName string
value string
Résultat void