Know hostname of a computer.

using System.Net; 

protected void Page_Load(object sender, EventArgs e)
{
     Response.Write(Dns.GetHostName());
}

Ebook Download
View all
Learn
View all