Listing computers in the local network

  • Thread starter Thread starter Doly Garcia
  • Start date Start date
D

Doly Garcia

I'm writing an application in VB .NET that, at one point, should list
all the computers in the local network in a listbox. The problem is
that I want it to work in any kind of network (doesn't necessarily
have Active Directory). I have tried looking in all the IP addresses
that have the same beginning as the computer the application is
running in, but I find that when an IP address doesn't correspond to
any computer, Dns.Resolve is very slow.
I'd appreciate it if the answers came in the form of code snippets or
links to pages that explain the issue. I'd also appreciate it if the
solutions weren't overkill. I just want a list of computer names in a
listbox, nothing else!
 
That code is for SQL servers, but I want to see all of the computers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top