string hostname = System.Net.Dns.GetHostName();
            System.Net.IPHostEntry ipEntry = System.Net.Dns.GetHostEntry(hostname);
            dr["NodeIP"] = ipEntry.AddressList[0].ToString();
            dr["NodeName"] = hostname;
            dr["NodeOSDesc"] = System.Environment.OSVersion.VersionString;

相关文章:

  • 2022-12-23
  • 2021-10-23
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-09-18
相关资源
相似解决方案