This method of the RegKey class returns a string representation of the key.
public String toString();
Returns a string containing the path information in the form: "[RegKey: <path>]".