Click or drag to resize

RegistryLayoutRendererKey Property

Gets or sets the registry key.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog.WindowsRegistry (in NLog.WindowsRegistry.dll) Version: 6.0.3+e276e1969a52b8ecc5cc84c1670a516efea0cb19
Syntax
public Layout Key { get; set; }

Property Value

Type: Layout
Remarks
Possible keys:
  • HKEY_LOCAL_MACHINE
  • HKLM
  • HKEY_CURRENT_USER
  • HKCU
  • HKEY_CLASSES_ROOT
  • HKEY_USERS
  • HKEY_CURRENT_CONFIG
  • HKEY_DYN_DATA
  • HKEY_PERFORMANCE_DATA
Examples
HKCU\Software\NLogTest
See Also