Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

How to Show IP in a TEXTBOX, Using a WebBrowser HTTP Connection?

$
0
0
Hello everyone... I am very new in VBNET but I do have some knowledge.

A friend of mine requested me to help him make a webbrowser that has an Proxy IP Changing option + that he wants the Browser to have a TextBox that showes his IP everytime he changes his Proxy using the WebBrowser. I have followed so many instructions and Tutorials, but most of them are showing my real IP even if Its changed.

I have a Winsock Tutorial plus, an External IP tut, and still I was not able to Get my PROXY IP after changing it... I was wondering how get my PROXY IP in a textbox, the same connection that I use for my webbrowser..

And below is the last code I found on here, but still when My IP Is changed, I still see my real IPV4 IP.....
Code:


    Private Function GetExternalIp() As String
        Try
            Dim ExternalIP As String
            ExternalIP = (New WebClient()).DownloadString("http://checkip.dyndns.org/")
            ExternalIP = (New Regex("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}")) _
                        .Matches(ExternalIP)(0).ToString()
            Return ExternalIP
        Catch
            Return Nothing
        End Try

So I am basicly stuck.. Hope someone could guide me throug this..
Thanks a lot in ADVANCE..

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>