ComponentSpace Registry Toolkit Class Library Reference

RegistryHelper.OpenBaseKey Method (String)

Open the base key given its name.

[Visual Basic]
Overloads Public Shared Function OpenBaseKey( _
   ByVal baseKeyName As String _
) As RegistryKey
[C#]
public static RegistryKey OpenBaseKey(
   string baseKeyName
);

Parameters

baseKeyName
The base key name.

Return Value

The opened base key.

Remarks

For example, if the base key name is "HKEY_LOCAL_MACHINE" then the HKEY_LOCAL_MACHINE base key is returned.

Exceptions

Exception Type Condition
RegistryToolkitException Thrown when the registry operation fails.

See Also

RegistryHelper Class | ComponentSpace.RegistryToolkit Namespace | RegistryHelper.OpenBaseKey Overload List