Method | Description | |
---|---|---|
DeleteEmptyKey ( string keyname ) : void |
Delete the specified key if it is empty. If that causes its parent key to be empty, continue upwards.
|
|
DeleteKey ( string keyname ) : void | ||
DeleteKey ( string keyname, bool deleteemptyparents ) : void |
Delete the specified key, including values and all subkeys.
|
|
GetSubKeyNames ( string keyname ) : string[] | ||
GetValue ( string keyname, string valuename ) : object |
Retrieve a registry value.
|
|
GetValueNames ( string keyname ) : string[] | ||
KeyExists ( string keyname ) : bool | ||
SetValue ( string keyname, string valuename, object value ) : object |
Sets a new registry value and returns old value
|
|
SubKeyCount ( string keyname ) : int |
Method | Description | |
---|---|---|
GetRootKey ( string rootname ) : |
||
OpenKey ( string keyname, bool create ) : |
public static DeleteEmptyKey ( string keyname ) : void | ||
keyname | string | |
return | void |
public static DeleteKey ( string keyname ) : void | ||
keyname | string | |
return | void |
public static DeleteKey ( string keyname, bool deleteemptyparents ) : void | ||
keyname | string | |
deleteemptyparents | bool | |
return | void |
public static GetSubKeyNames ( string keyname ) : string[] | ||
keyname | string | |
return | string[] |
public static GetValue ( string keyname, string valuename ) : object | ||
keyname | string | Full key path |
valuename | string | Name of value. May be empty for key's default value |
return | object |
public static GetValueNames ( string keyname ) : string[] | ||
keyname | string | |
return | string[] |
public static KeyExists ( string keyname ) : bool | ||
keyname | string | |
return | bool |
public static SetValue ( string keyname, string valuename, object value ) : object | ||
keyname | string | Full key path |
valuename | string | Name of value. May be empty for key's default value |
value | object | New value. May be null to delete the value. |
return | object |
public static SubKeyCount ( string keyname ) : int | ||
keyname | string | |
return | int |