anthonycara Posted July 9, 2004 Share Posted July 9, 2004 Is there an api i can use to get a list of computers on a network domain/workgroup? All i need is the computer names. Link to comment Share on other sites More sharing options...
0 dreamthief Posted July 9, 2004 Share Posted July 9, 2004 You should try googling it first. Lot of results there. Here's one http://support.microsoft.com/default.aspx?...&NoWebContent=1 Link to comment Share on other sites More sharing options...
0 anthonycara Posted July 9, 2004 Author Share Posted July 9, 2004 uh...that seems only to return the current computer's details. Link to comment Share on other sites More sharing options...
0 anthonycara Posted August 10, 2004 Author Share Posted August 10, 2004 anything? Link to comment Share on other sites More sharing options...
0 +John Teacake MVC Posted August 10, 2004 MVC Share Posted August 10, 2004 I wrote a program while I was in college to do something similar. But it just checked all the computers on the network that were running my program not all the computers in the same domain etc. Link to comment Share on other sites More sharing options...
0 LlamaTrauma Posted August 10, 2004 Share Posted August 10, 2004 Why not just go through all the ip's on your lan and ping each of 'em? If they don't timeout, you could initiate an IAS query or some such to find their name, MAC address, etc. Multithreading would help in this implementation. Link to comment Share on other sites More sharing options...
0 Mordkanin Posted August 11, 2004 Share Posted August 11, 2004 http://www.pscode.com/vb/scripts/ShowCode....=30362&lngWId=1 That has a function that will list them all, just rip out that chunk of code (I would have done it for you, but I swapped over to .NET and haven't installed VB6 in like 2 years) Link to comment Share on other sites More sharing options...
Question
anthonycara
Is there an api i can use to get a list of computers on a network domain/workgroup? All i need is the computer names.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts