using System;using System.Net;
namespace TipsTricks{ class ConvertIpToHostName { static void Main() { IPHostEntry iph = Dns.Resolve("127.0.0.1"); string hostName = iph.HostName;
Console.WriteLine(hostName); } }}
posted @ domenica 1 agosto 2004 12:04 |