Could anyone please take up this task. It is very important for us. Now I am having only one question. Why
Console.WriteLine("The FQDN host name is : " + Dns.GetHostEntry(string.Empty).HostName); prints just host name. Actually it prints "hostname.site.domain.com" in FQDN format but we have some hosts where it gives only "hostname" and that causing the problem.
Is it related to TCP IP parameters in registry??