Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

know my wan ip with c#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Soussan Mikael - 13 Jul 2005 22:19 GMT
Hello evrybody,

I have to implement a simple module that can retrieve my own ip adress but
if i am behind a firewall i have to get my wan ip that's to say my external
ip adress!!!

I don't know how to do this!!!I see a little at WMI but anything.
My dns client updater can see my external ip, but if i launch ipconfig i see
only my lan 192.168.1.3)

Thank for helping!!
CristianMori - 15 Jul 2005 00:03 GMT
Hi Mikael.
I really don't think that you can get the WAN ip if you are behind a
firewall. The reason is simply that your pc does not have any way to know it!

There is only one thing that you could do. If your WAN ip is the one that
you use to go out in internet you could write a Web service that return the
Ip address you are using to connect at it.

Hope it may help

> Hello evrybody,
>
[quoted text clipped - 7 lines]
>
> Thank for helping!!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.