Get Computer Name

Dim host As System.Net.IPHostEntry = System.Net.Dns.GetHostEntry(Request.ServerVariables.Item("REMOTE_HOST"))

Dim strComputerName As String = host.HostName

Literal1.Text = strComputerName

Post a comment

Comments closed