dotnet / dotnet/dotnet-api-docs

OpenBaseKey LocalMachine only?

Open
#10,194 2 comments 0 reactions 0 assignees View on GitHub
area-Microsoft.Win32 Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Typo

### Description

[Enter feedback here]
Hi
In the Definition, it says:
"represents the requested key on the local machine"

Says it's only applicable to LocalMachine only! Not to CurrentUser or ClassesRoot

So no idea if doc is wrong or OpenBaseKey applies to LocalMachine only?
If LocalMachine only, what's the reason for RegistryHive parameter?
So I guess the doc is wrong?
Thanks.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.win32.registrykey.openbasekey?view=netframework-4.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Win32/RegistryKey.xml

### Document Version Independent Id

030d2084-a592-3ae6-399e-4020aa45c23d

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.