Wednesday, 19 December 2012

Show the user's IP address on your form in Visual Basic.NET.

I just came across the link [ http://automation.whatismyip.com/n09230945.asp ] a few days back while scrolling through a random HF thread and it turned out pretty useful while coding my downloader.
You can show the user's IP address on your form using this simple piece of code:

TextBox1.Text = New System.Net.WebClient().DownloadString("http://automation.whatismyip.com/n09230945.asp")

Thanks for reading,
Arcane.cfg
 

All the posts found in this blog are meant either for educational purposes or are the personal opinions of myself (Arcanecfg). I do not condone any illegal activities whatsoever. I cannot be held responsible for any actions the readers of this blog may perform with the knowledge attained from here (Wasted Wolf). These Terms and Conditions of Use apply to you when you view, access or otherwise use the blog located at www.WastedWolf.com.

Theme designed by mono-lab / Edited by Arcanecfg.

DMCA.com Protection Status
/ Wasted Wolf /