System.Net.IPHostEntry ip = System.Net.Dns.GetHostByAddress('adresse_ip'); string hostname = ip.HostName;
if (reply.Status == IPStatus.Success) { System.Net.IPHostEntry ip = System.Net.Dns.GetHostByAddress(mydebut); string hostname = ip.HostName; // MessageBox.Show("Ping de " + mydebut + " OK "); string MAC = CMD.GetMACDepuisIP(mydebut.ToString()); [...]