Author: smurfsdabomb | Posted on: 2/23/2009 4:26:39 AM | Views : 306

 What I have right now gets an IP address but I think it's the IP of the server rather than the user and I need it to be unique to the user for preventing repeated voting in a poll.
 
    Function GetIP() As String
        Dim IP As IPHostEntry = New IPHostEntry
        IP = Dns.Resolve(Dns.GetHostName)

        Dim arrIP() As IPAddress = IP.AddressList
        Dim IPstring As String = arrIP(0).ToString()

        Label3.Text = IPstring
        Return IPstring

    End Function

...

Go to the complete details ...