C# Class Zazzles.RegistryHandler

Handle all interaction with the registry
Afficher le fichier Open project: FOGProject/zazzles

Méthodes publiques

Méthode Description
DeleteFolder ( string path ) : bool

Delete a folder in the registry

DeleteKey ( string keyPath, string keyName ) : bool

Delete a registry key

GetRegisitryValue ( string keyPath, string keyName ) : string

SetRegistryValue ( string keyPath, string keyName, string value, bool verbose = true ) : bool

Set the value of a registry key

Method Details

DeleteFolder() public static méthode

Delete a folder in the registry
public static DeleteFolder ( string path ) : bool
path string The folder to delete
Résultat bool

DeleteKey() public static méthode

Delete a registry key
public static DeleteKey ( string keyPath, string keyName ) : bool
keyPath string The path to the registry key
keyName string The name of the registry key
Résultat bool

GetRegisitryValue() public static méthode

public static GetRegisitryValue ( string keyPath, string keyName ) : string
keyPath string The path to the registry key
keyName string The name of the registry key
Résultat string

SetRegistryValue() public static méthode

Set the value of a registry key
public static SetRegistryValue ( string keyPath, string keyName, string value, bool verbose = true ) : bool
keyPath string The path to the registry key
keyName string The name of the registry key
value string The value to set the key to
verbose bool Log exceptions
Résultat bool