I want to show the IP address whenever the form load without clicking the button to show IP address.
This is my code:
I want to show the IP address in LABEL, but i can't understand how to show this in label. With button i can see the ip address but i don't want to be look like that way. Please help.
This is my code:
Code:
Function GetIP() As String
Dim IP As New WebClient
Return IP.DownloadString("http://icanhazip.com/")
End Function