Adds a keypair to an existing key under the HKCU (Current User)\Software branch.
If any error return false.
If key does not exist, it will be created.
Namespace: LLCryptoLib.UtilsAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static bool SetHKCUValue(
string keyname,
string name,
int valkey
) |
Visual Basic |
---|
Public Shared Function SetHKCUValue ( _
keyname As String, _
name As String, _
valkey As Integer _
) As Boolean |
Visual C++ |
---|
public:
static bool SetHKCUValue(
String^ keyname,
String^ name,
int valkey
) |
Parameters
- keyname
- Type: System..::..String
Name of an existing key
- name
- Type: System..::..String
Name of key-value pair
- valkey
- Type: System..::..Int32
Value to associate to this key
Return Value
True if key is correctly set.
See Also