sersam Posted April 24, 2013 Share Posted April 24, 2013 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! Link to comment Share on other sites More sharing options...
JohnOne Posted April 24, 2013 Share Posted April 24, 2013 _TCPIpToName perhaps, can't be sure, never used it and have no network here. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
sersam Posted April 24, 2013 Author Share Posted April 24, 2013 (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 April 25, 2013 by sersam Link to comment Share on other sites More sharing options...
JohnOne Posted April 25, 2013 Share Posted April 25, 2013 (edited) Works for me TCPStartup() MsgBox(0,0,_TCPIpToName(@IPAddress1)) TCPShutdown() Edited April 25, 2013 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
JohnOne Posted April 25, 2013 Share Posted April 25, 2013 Great, but #include <iNet.au3> is not needed, was just left over from earlier. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now