Save a integer value in the registry. The SubKey will be created if it does not exists.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Sub SetIntegerValue ( _
	registryKey As RegistryKey, _
	subKey As String, _
	name As String, _
	value As Integer _
)
C#
public static void SetIntegerValue(
	RegistryKey registryKey,
	string subKey,
	string name,
	int value
)

Parameters

registryKey
Type: Microsoft.Win32..::..RegistryKey
subKey
Type: System..::..String
name
Type: System..::..String
value
Type: System..::..Int32

See Also