Skip to content

Need to clarify RegistryKey.FromHandle will always set the KeyName to empty string #4221

Open
@gewarren

Description

@gewarren

From @tarekgh on Tuesday, May 12, 2020 4:32:55 PM

Issue description

When creating RegisteryKey from a handle using RegistryKey.FromHandle, the key name is always set to empty string. The documentation need to explicitly mention that.

This issue reported on the community portal.

Target framework

Check the .NET target framework(s) being used, and include the version number(s).

  • [ x] .NET Core
  • [ x] .NET Framework
  • [ x] .NET Standard

Copied from original issue: dotnet/docs#18370

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-Microsoft.Win32untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions