Snippet C#

Convertire un indirizzo IP in un HostName

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);                   }           }}

Copyright © Alessandro MAROTTA RIZZO

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski