APWEB
Messages postés74Date d'inscriptionlundi 30 juin 2003StatutMembreDernière intervention18 octobre 20062 16 déc. 2004 à 23:43
string ipString = "1.0.0.127";
IPAddress address = IPAddress.Parse(ipString);
long ip = address.Address;//address.Address retourne un int64/long
Console.WriteLine( ip.ToString());
long mylong = 2130706433;
IPAddress add2 = new IPAddress(mylong);//le long en IP
Console.WriteLine(add2.ToString());