dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
699 stars 1.54k forks source link

OpenBaseKey LocalMachine only? #10194

Open AustralianDevNerds opened 1 month ago

AustralianDevNerds commented 1 month ago

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

dotnet-issue-labeler[bot] commented 1 month ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 1 month ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.