dotnet / dotnet/dotnet-api-docs
Need to clarify RegistryKey.FromHandle will always set the KeyName to empty string
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
_From @tarekgh on Tuesday, May 12, 2020 4:32:55 PM_
**Issue description**
When creating RegisteryKey from a handle using [RegistryKey.FromHandle](https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.registrykey.fromhandle?view=dotnet-plat-ext-3.1), the key name is always set to empty string. The documentation need to explicitly mention that.
This issue reported on the [community portal](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1109953?src=WorkItemMention&src-action=artifact_link).
**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_
Contributor guide
Assessment
This issue has not been assessed yet.