|
-
Mar 2nd, 2007, 12:19 PM
#1
Thread Starter
Hyperactive Member
get ip of all pc in a network
hi all how can I get ip of all pc in a network
I know its posible because I did it once but now I forgot
thx
VS 2005 .....Framework SDK 3.0
"Its mostly the brave one who choose to not fight"
-
Mar 5th, 2007, 11:44 AM
#2
Member
Re: get ip of all pc in a network
To get the ip address of a machine of which you know the name, you can use the gethostbyname api function as demonstrated on this page
http://vbnet.mvps.org/code/network/iplookup.htm
If you don't know the machine names of each computer in the network then you can get a list of all the current machines in the domain by using the NetServerEnum api function as demonstrated on this page
http://vbnet.mvps.org/code/network/netserverenum.htm
-
Mar 5th, 2007, 12:23 PM
#3
Thread Starter
Hyperactive Member
Re: get ip of all pc in a network
VS 2005 .....Framework SDK 3.0
"Its mostly the brave one who choose to not fight"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|