|
-
September 14th, 2006, 03:37 AM
#1
How to get IP which is assigned by ISP
Hello IT friends,
how to get the ISP assinged IP address?
actually I am in network. We are using router. ISP assinged IP will be assigned to that router. But I have local ip which IP I can use for my Messeger. How to do that?
anyone please help me... I can't understand that please help me...
Thanks and Regards,
Nagarajan
-
September 14th, 2006, 05:39 AM
#2
Re: How to get IP which is assigned by ISP
how to get the ISP assinged IP address?
try this
Code:
Dim ipEntry As IPHostEntry = Dns.GetHostByName(Environment.MachineName)
Dim IpAddr As IPAddress() = ipEntry.AddressList
Me.Label1.Text = IpAddr(0).ToString()
Last edited by aniskhan; September 14th, 2006 at 05:42 AM.
-
September 14th, 2006, 06:22 AM
#3
Re: How to get IP which is assigned by ISP
 Originally Posted by aniskhan
try this
Code:
Dim ipEntry As IPHostEntry = Dns.GetHostByName(Environment.MachineName)
Dim IpAddr As IPAddress() = ipEntry.AddressList
Me.Label1.Text = IpAddr(0).ToString()
Hi friend,
this code is really helpfull for me... I have created one messenger in vb.net... when I am giving my local ip messeges are coming file.. while I am using ur code it is giving one different IP... when I am trying with that ip messeger r not coming...
actually I am in local network we have router... ISP will assign the IP to the router I think... but that IP which is assigned to router is different.. but I am getting the different ip while using ur code...
is this a ISP ip for my node or what ....
can u plz explain that technology to me...
b'coz I don't know the technology...
help me plz
at the same time how to do video chat and audio chat... do u have any idea?
plz help me
nagarajan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|