Re: KNOW MI WAN IP WITH C#
- From: "Soussan Mikael" <mikael@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Jul 2005 09:14:44 +0200
that's to say i have to implement a server located on the web and to ask him
for my ip adress???
How czn I do in C# to ask various websites that print my ipadress?
"Arthur M." <ArthurM@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: E51C6F62-FF07-4FEC-AEE7-94E7AE58FE41@xxxxxxxxxxxxxxxx
> There is really no way to do that reliably using your local system as the
> only point of query. Once IP packet leaves your system it can get
> translated
> and changed any number of times without your system's knowledge, that is
> hte
> whole point of NAT.
>
> If your firewall is local to your PC, you can query the firewall
> configuration to determine external IP address, however, if firewall is a
> different system - the only truly reliable way to determine translated IP
> address is to query a remote system outside your firewall for it to report
> which IP address you APPEAR to be coming from.
>
>
>
>
>
>
>
>
>
> "Soussan Mikael" wrote:
>
>> 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!!
>>
>>
>>
.
- Follow-Ups:
- Re: KNOW MI WAN IP WITH C#
- From: Lau Lei Cheong
- Re: KNOW MI WAN IP WITH C#
- References:
- KNOW MI WAN IP WITH C#
- From: Soussan Mikael
- RE: KNOW MI WAN IP WITH C#
- From: Arthur M.
- KNOW MI WAN IP WITH C#
- Prev by Date: Re: Bug in Directory.GetFiles?
- Next by Date: Re: msvcr70.dll, msvcrt.dll?
- Previous by thread: RE: KNOW MI WAN IP WITH C#
- Next by thread: Re: KNOW MI WAN IP WITH C#
- Index(es):
Relevant Pages
|