Class RemoteRegistry

java.lang.Object
com.github.robtimus.os.windows.registry.Registry
com.github.robtimus.os.windows.registry.RemoteRegistry
All Implemented Interfaces:
AutoCloseable

public final class RemoteRegistry extends Registry implements AutoCloseable
A representation of a Windows registry on a remote machine.
Author:
Rob Spoor
Since:
2.0
  • Field Details

    • HKEY_LOCAL_MACHINE

      public final RegistryKey HKEY_LOCAL_MACHINE
      The HKEY_LOCAL_MACHINE root key on the remote machine.
    • HKEY_USERS

      public final RegistryKey HKEY_USERS
      The HKEY_USERS root key on the remote machine.
  • Method Details

    • close

      public void close()
      Closes the connection to the remote registry.
      Specified by:
      close in interface AutoCloseable
      Throws:
      RegistryException - If the remote registry could not be closed.