RegistryKeyStatic: OpenRemoteBaseKey

OpenRemoteBaseKey

Connects to a Registry on a remote machine and returns a RegistryKey to the specified registry key on that machine.



 Public Function OpenRemoteBaseKey(
	  ByVal hKey As RegistryHive,
	  ByVal MachineName As String ) As RegistryKey

Parameters

hKey
[ByVal] RegistryHive. The registry key on the remote machine to open.
MachineName
[ByVal] String. The name of the remote machine.

Return Values

RegistryKey -  A RegistryKey connected to the registry of a remote machine.

Remarks

If the MachineName is an empty String, then the registry of the local machine is opened.

See Also

Project CorLib Overview

Class RegistryKeyStatic Overview