Get Real IP Address
Get Real IP Address
Get Real IP Address
Get Real IP Address
Get Real IP Address
Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address
Get Real IP Address Get Real IP Address
Get Real IP Address
Go Back  Xtreme Visual Basic Talk > > > Get Real IP Address


Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2013, 01:06 PM
VB_Alien VB_Alien is offline
Senior Contributor
 
Join Date: Apr 2004
Posts: 854
Default Get Real IP Address


I'm using VS 2010.

I can get my local host name and IP number
but i don't know how to get my real IP number,
the one supplied by my ISP.

I've searched over 200 web pages to find out
how to do this and most of what i found, only
gets your local IP.

Then i read where you have to use a web page
like Whatsmyip.com, in order to get your real
IP address but i guess that site has been getting
hit with so many programmers, wanting to get
there IP addresses, that now you have to be a
member of that site and get special privileges
to use it.

The code i did use for getting my IP from that
site, downloaded the page source into a textbox
that i have setup to receive my real IP.

So before i go beating myself up, trying to get
my real IP address, could i ask if there is any
other way of finding your real IP address, other
than using a web page?

Thank-you

PS
I'm behind a router, if that makes a difference.
Reply With Quote
  #2  
Old 02-21-2013, 01:23 PM
AtmaWeapon's Avatar
AtmaWeaponGet Real IP Address AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

That is basically how you do it. The only thing that knows your external IP is a thing that you connect to. So you need a service on the other side of your ISP that reports it back.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #3  
Old 02-21-2013, 01:24 PM
VB_Alien VB_Alien is offline
Senior Contributor
 
Join Date: Apr 2004
Posts: 854
Default

OK. Thank-you
Reply With Quote
  #4  
Old 02-21-2013, 06:43 PM
VB_Alien VB_Alien is offline
Senior Contributor
 
Join Date: Apr 2004
Posts: 854
Default

I found one way of getting your real
IP address by using a web page that
tracks your IP address.

It's kind of slow but at least you can get
your IP address.

If anyone can find a faster way to get it,
i'd appreciate it if you could share it with
us.
Attached Files
File Type: zip GetReal IP.zip (46.7 KB, 13 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Get Real IP Address
Get Real IP Address
Get Real IP Address Get Real IP Address
Get Real IP Address
Get Real IP Address
Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address Get Real IP Address
Get Real IP Address
Get Real IP Address
 
Get Real IP Address
Get Real IP Address
 
-->