Click or drag to resize

RegistryLayoutRendererKey Property

Gets or sets the registry key.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog.WindowsRegistry (in NLog.WindowsRegistry.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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