C# Programmation Réseau: Vérifiersi l’adresse IP est une boucle

Author:
  

using System;
using System.Net;
class AddressSample {
    public static void Main() {
        IPAddress test2 = IPAddress.Loopback;
        if (IPAddress.IsLoopback(test2))
            Console.WriteLine("The Loopback address is: {0}",
                    test2.ToString());
        else
            Console.WriteLine("Error obtaining the loopback address");

    }
}

   
  

Leave a Reply

Your email address will not be published. Required fields are marked *