IsLoopback IPAddress : IP Address : Network C# Source Code


Custom Search

C# Source Code » Network » IP Address »

 

IsLoopback IPAddress








    
 

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

    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Network
» IP Address