string strHostName = System.Net.Dns.GetHostName();
Asked In: Many Interviews | Alert Moderator
Login to post response