Posted on: 4/6/2014 12:05:52 PM | Views : 231

In my asp.net+vb web i want to display claint computers name. for ip address i used this code. it is working. 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim ipaddress As String ipaddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR") If ipaddress = "" OrElse ipaddress Is Nothing Then ipaddress = Request.ServerVariables("REMOTE_ADDR") End If iptxt.Text = ("Your IP Address is: " & ipaddress) End Sub

Go to the complete details ...