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.Utils
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public static bool SetHKCUValue(
	string keyname,
	string name,
	string valkey
)
Visual Basic
Public Shared Function SetHKCUValue ( _
	keyname As String, _
	name As String, _
	valkey As String _
) As Boolean
Visual C++
public:
static bool SetHKCUValue(
	String^ keyname, 
	String^ name, 
	String^ valkey
)

Parameters

keyname
Type: System..::..String
Name of an existing key
name
Type: System..::..String
Name of key-value pair
valkey
Type: System..::..String
Value to associate to this key

Return Value

True if key is correctly set.

See Also