Method | Description | |
---|---|---|
DeleteSoftwareValue ( [ subkeyName, [ valueName, bool machineWide ) : void |
Deletes a value from one of the SOFTWARE keys in the registry. Does not throw an exception for missing keys or values. |
|
GetDword ( [ keyName, [ valueName, int defaultValue ) : int |
Reads a DWORD value from the registry.
|
|
SetDword ( [ keyName, [ valueName, int value ) : void |
Sets a DWORD value in the registry.
|
|
SetSoftwareString ( [ subkeyName, [ valueName, [ value, bool machineWide = false ) : void |
Sets a string value in one or more of the SOFTWARE keys in the registry.
|
|
SetString ( [ keyName, [ valueName, [ value ) : void |
Sets a string value in the registry.
|
Method | Description | |
---|---|---|
CreateSubKeyChecked ( [ key, [ subkeyName ) : |
||
DeleteValue ( |
||
GetSoftwareString ( [ subkeyName, [ valueName, [ defaultValue = null ) : string | ||
GetSoftwareString ( [ subkeyName, [ valueName, bool machineWide ) : string | ||
GetString ( [ keyName, [ valueName, [ defaultValue = null ) : string | ||
GetSubKeyNames ( [ key, [ subkeyName ) : string[] | ||
GetValueNames ( [ key, [ subkeyName ) : string[] | ||
OpenHklmKey ( [ subkeyName, bool &x64 ) : |
||
OpenSubKeyChecked ( [ key, [ subkeyName, bool writable = false ) : |
public static DeleteSoftwareValue ( [ subkeyName, [ valueName, bool machineWide ) : void | ||
subkeyName | [ | The path of the key relative to the SOFTWARE key. |
valueName | [ | The name of the value to delete. |
machineWide | bool | |
return | void |
public static GetDword ( [ keyName, [ valueName, int defaultValue ) : int | ||
keyName | [ | The full path of the key to read from. |
valueName | [ | The name of the value to read. |
defaultValue | int | The default value to return if the key or value does not exist. |
return | int |
public static SetDword ( [ keyName, [ valueName, int value ) : void | ||
keyName | [ | The full path of the key to write to. |
valueName | [ | The name of the value to write. |
value | int | The value to write. |
return | void |
public static SetSoftwareString ( [ subkeyName, [ valueName, [ value, bool machineWide = false ) : void | ||
subkeyName | [ | The path of the key relative to the SOFTWARE key. |
valueName | [ | The name of the value to write. |
value | [ | The value to write. |
machineWide | bool | |
return | void |
public static SetString ( [ keyName, [ valueName, [ value ) : void | ||
keyName | [ | The full path of the key to write to. |
valueName | [ | The name of the value to write. |
value | [ | The value to write. |
return | void |