Getting all the computer name on the network.

  • Thread starter Thread starter Cuong Tong
  • Start date Start date
C

Cuong Tong

Hi,

I would like to develope a pocket pc application to explore all the
computers or devices on the local network or subnet.

At the momment I just need to get the IP address of all the computer and
their name and list them to a list box.

Can anyone point me to the right direction.

Regard,
 
You'll probably need to interop, so there are probably better newsgroups
to get this questions answered.

I think you should be able to use WNetOpenEnum and related functions
to accomplish this, you probably need to traverse the entire hierarcy
similar
to browsing the "Network Neighborhood".

http://msdn.microsoft.com/library/e...0conwindowsnetworkingapiredirectorsamples.asp

See the sample "Shows how to enumerate servers in a domain".

Please post back the results.
 
Back
Top