Sign in to follow this  
Followers 0
sersam

How to get computer names by Mac adress or Ip adress ?

5 posts in this topic

Hi,

I have a student hostel. The peoples are using the Internet on my network. I can see mac addresses on network. But I can't see computer names. The modem assigning IP automatically. For example my computer IP is 192.168.0.198. and modem ip 192.168.0.2.

I want to get computers names. Anybody help me?

Note: Net view doesn't show on CMD. The cmd shows my computer's name only.

My system is Win7.

Thanks!

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Thanks for answer but _TCPIpToName is not work for me. I try, _TCPIpToName("192.168.0.168") with msgbox, write empty result. :(

Edit:

Thanks! This work for me:

#RequireAdmin
#include <iNet.au3>
TCPStartup ( )
$test = _TCPIpToName ( "192.168.0.38" )
MsgBox(0,"", $test )
Edited by sersam

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0