473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatically Getting IP address of computer on network

Al
Hi
I need to get the IP address of a computer on the network that uses dynamic
IP addressing. Is there anyway I get the address but providing the name of
the computer?

Thanks in advance

Al

Nov 21 '05 #1
6 2644
Have you looked into the IPAddress class?

Terp

"Al" <Al@discussions .microsoft.com> wrote in message
news:19******** *************** ***********@mic rosoft.com...
Hi
I need to get the IP address of a computer on the network that uses dynamic IP addressing. Is there anyway I get the address but providing the name of
the computer?

Thanks in advance

Al

Nov 21 '05 #2
Have you looked into the IPAddress class?

Terp

"Al" <Al@discussions .microsoft.com> wrote in message
news:19******** *************** ***********@mic rosoft.com...
Hi
I need to get the IP address of a computer on the network that uses dynamic IP addressing. Is there anyway I get the address but providing the name of
the computer?

Thanks in advance

Al

Nov 21 '05 #3
Al
Terp,

No I have not but I used IPAddress =
System.Net.Dns. GetHostByName(h ostname).Addres sList(0).ToStri ng()

Which works if i am running it on the server but not from other computer on
the network.

"Terp" wrote:
Have you looked into the IPAddress class?

Terp

"Al" <Al@discussions .microsoft.com> wrote in message
news:19******** *************** ***********@mic rosoft.com...
Hi
I need to get the IP address of a computer on the network that uses

dynamic
IP addressing. Is there anyway I get the address but providing the name of
the computer?

Thanks in advance

Al


Nov 21 '05 #4
Al
Terp,

No I have not but I used IPAddress =
System.Net.Dns. GetHostByName(h ostname).Addres sList(0).ToStri ng()

Which works if i am running it on the server but not from other computer on
the network.

"Terp" wrote:
Have you looked into the IPAddress class?

Terp

"Al" <Al@discussions .microsoft.com> wrote in message
news:19******** *************** ***********@mic rosoft.com...
Hi
I need to get the IP address of a computer on the network that uses

dynamic
IP addressing. Is there anyway I get the address but providing the name of
the computer?

Thanks in advance

Al


Nov 21 '05 #5
Al,
No I have not but I used IPAddress =
System.Net.Dns. GetHostByName(h ostname).Addres sList(0).ToStri ng()


I did not know that that IPAddress class, so I am glad I saw it in the
message from Terp

However, you make me curious, you ask a question get a solution and tell
than that you have your own solution.

Why do you than ask this question?

(You even make me as well curious if your question should not be I want the
IP address of the in the program used workstation. Instead of any
workstation in the network what now your question is and for what you got an
answer from Terp).

The first one is:
Dim IPAdd As String = System.Net.Dns. Resolve _
(SystemInformat ion.ComputerNam e).AddressList( 0).ToString
Cor
Nov 21 '05 #6
Al
Hi
I do need IP address of any computer on the network. Please forgive me for
how i address the question. But can anyone help me?
thanks
"Cor Ligthert" wrote:
Al,
No I have not but I used IPAddress =
System.Net.Dns. GetHostByName(h ostname).Addres sList(0).ToStri ng()


I did not know that that IPAddress class, so I am glad I saw it in the
message from Terp

However, you make me curious, you ask a question get a solution and tell
than that you have your own solution.

Why do you than ask this question?

(You even make me as well curious if your question should not be I want the
IP address of the in the program used workstation. Instead of any
workstation in the network what now your question is and for what you got an
answer from Terp).

The first one is:
Dim IPAdd As String = System.Net.Dns. Resolve _
(SystemInformat ion.ComputerNam e).AddressList( 0).ToString
Cor

Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
453
by: dotNetDave | last post by:
I just discovered that this: Dim searcher As New Management.ManagementObjectSearcher("SELECT NetConnectionStatus FROM Win32_NetworkAdapter") For Each networkAdapter As Management.ManagementObject In searcher.Get() does not work on Win2K to get the network connection status! Does anyone have some samples on how to do this same thing on...
0
237
by: Al | last post by:
Hi I need to get the IP address of a computer on the network that uses dynamic IP addressing. Is there anyway I get the address but providing the name of the computer? Thanks in advance Al
9
2304
by: Chris | last post by:
How do I find and print to screen the IP address of the computer my python program is working on?
8
10373
by: MrNobody | last post by:
I need to find out the IP address of my local network on the WAN. There is alot of information on getting my local machine IP address but I can't find anything for getting the IP address my network is on. I was thinking I could make a HTTP Request to a server which displays your IP address as they see it and scrape it out of the response but...
0
920
by: iwdu15 | last post by:
hi, is there anyway an app can get a list of users on a certain network and the ip address of the computer there on? i have a messenger program that i want to use on my network from my computer, but there are other computers all over the school. i want to be able to see where a user is logged on and send him/her a messege if need be....is this...
4
7284
by: Macca | last post by:
Hi, I am using an asynchronous socket server to allow comms between multiple clients and my server. I know how to obtain the IPAddress of the client (network device) as shown below :- string sensorIPAddress = ((IPEndPoint)handler.RemoteEndPoint).Address.ToString(); but what I would like to obtain is the physical/MACID of the client.
5
11146
by: Paul Bromley | last post by:
How do I know which IP address is active?? I have created the following class and this works well, but the first address it obtains on my machine is not the active one - in fact I do not know what NIC it refers to the second one in the addresslist is the current one (mIpAddr(1).ToString()). How can I test for the current active IP address??...
8
16658
by: Bruno Barros | last post by:
Hey there. I'm currently working on an intranet, and would like to know how I can get the windows usernames of the visitors. You can get their IP with $_SERVER; But what about their Windows Username? Is there any way of doing so? Through the Intranet?
6
12785
by: Ryan Liu | last post by:
Hi, If I want to uniquely identify a computer. I can read CPU ID or Mac Address. I heard, but is this true: some BIOS can block CPU ID from being read? (In this case, will I get an exception, null or empty string for method managementObject.Properties?) So maybe Mac address is better way. But when I read Mac address for my laptop, I...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.