locked
OpenSubKey() Registry key's “Absolute Path”? RRS feed

  • Question

  • Using Microsoft.Win32.RegistryKey C# functions which require a registry path, like OpenSubKey(), using a path like

    @"SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp"
    generates an error stating “Absolute path information is required.”

    What is the syntax to create the absolute path required?

    Monday, December 14, 2020 2:01 AM