示例#1
0
    string GetHostNameByIp(string ip)
    {
        var hostList = PalaceInfoManager.GetPalaceInfoList();
        var host     = hostList.FirstOrDefault(i => i.Ip == ip);

        return(host.HostName);
    }
示例#2
0
 void UpdateLists()
 {
     PalaceInfoList = PalaceInfoManager.GetPalaceInfoList();
 }