Parse an IPAddress : IP Address : Network C# Source Code


Custom Search

C# Source Code » Network » IP Address »

 

Parse an IPAddress








    
 
using System;
using System.Net;
class AddressSample {
    public static void Main() {
        IPAddress test1 = IPAddress.Parse("192.168.1.1");
        Console.WriteLine("The test address is: {0}",  test1.ToString());
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Network
» IP Address