Introduction
This article is used to get the intranet information in a network. It shows information like the host name, corresponding IP address and also physical address.
Using the code
The code retrieves all the System names using the Directory entries information.
Then we collect the IP address using the DNS.
The physical MAC address is collected using the DLL "iphlpapi.dll" with the API SendARP()
.
For each System, we use the Hostname to retrieve the MAC address.
Points of Interest
This is my first article in CodeProject.
History
- 01/24/2005
Article released.