5 Replies Latest reply on Mar 18, 2019 5:16 AM by Eugene Lee

    How to refresh GetPIServers()

    EricWang001

      I call GetPIServers() function to fetch all piservers register in PI SDK Utility in a windows service, but there is a issue that when I delete a server or add a server in PI SDK Utility, GetPIServers() always return old server list.

      if restart host windows service, this issue is gone.

      My question is:  if there is API that I can call to refresh some kind of cache that hold server list information so that I can get latest pi server list by calling GetPIServers() without needing restart host window service.