Get DNS host name : DNS : Network C# Examples


C# Examples » Network » DNS »

 

Get DNS host name









    
using  System;
using  System.Net;

class  MainClass
{
        public  static  void  Main()
        {


                Console.WriteLine(Dns.GetHostName());
        }
}
    
   
  
   



Output

navioo


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Network
» DNS