?
Solved

Network enumeration

Posted on 2003-03-13
5
Medium Priority
?
326 Views
Last Modified: 2013-11-15
I am building a program to enumerate all IP addresses of computer present in network. I have source code for a program which list all the computers present in one domain. But i require a program which can can list all the IP addresses  and computer names in different domains in a network.
Please suggest !
0
Comment
Question by:rohitdivas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 

Accepted Solution

by:
mrwhat earned 150 total points
ID: 8134878
I have done this before but i don't have the code here.
You could find an answer there :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wnet/wnet/enumerating_network_resources.asp

You could use the WNetOpenEnum function and then WNetEnumResources.

With this, you will have all the resource of the network.

I hope it will help
0
 
LVL 1

Expert Comment

by:jcaldwel
ID: 8140516
What platform are you developing for?
0
 

Expert Comment

by:mrwhat
ID: 8140802
I develope for Windows Platforme.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 10123866
Nothing has happened on this question in more than 10 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
accept answer by mrwhat [grade B] (a hint rather than a solution).

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question