@Deprecated
  public String[] getInfo(HostAndPort hostAndPort) {
    try {
      InfoRequest request = new InfoRequest();
      InfoResponse response =
          (InfoResponse) requireNonNull(
              requestToServer(hostAndPort, request, DEFAULT_REQUEST_TIMEOUT, true));
      return response.getInfo();
    } catch (java.net.ConnectException ignore) {
      return null;
    } catch (Exception ex) {
      logger.error(
          "TcpClient.getInfo(): exception connecting to locator " + hostAndPort + ": " + ex);
      return null;
    }
  }
Contacts the Locator running on the given host, and port and gets information about it. Two
<code>String</code>s are returned: the first string is the working directory of the locator
and the second string is the product directory of the locator.

@deprecated this was created for the deprecated Admin API
geode-tcp-server/src/main/java/org/apache/geode/distributed/internal/tcpserver/TcpClient.java